at master 652 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 parameterized, 6 unittestCheckHook, 7}: 8buildPythonPackage rec { 9 pname = "pypika"; 10 version = "0.49.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "kayak"; 15 repo = "pypika"; 16 rev = "v${version}"; 17 hash = "sha256-Lawsc19sJ3U7rCOnYvDWhWqK/J+Hd3zKG6TrhDsTtVs="; 18 }; 19 20 pythonImportsCheck = [ "pypika" ]; 21 22 nativeCheckInputs = [ 23 parameterized 24 unittestCheckHook 25 ]; 26 27 meta = with lib; { 28 description = "Python SQL query builder"; 29 homepage = "https://github.com/kayak/pypika"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ ]; 32 }; 33}