Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 isPy27, 5 fetchPypi, 6 agate, 7 sqlalchemy, 8 crate, 9 pytestCheckHook, 10 geojson, 11}: 12 13buildPythonPackage rec { 14 pname = "agate-sql"; 15 version = "0.7.2"; 16 format = "setuptools"; 17 18 disabled = isPy27; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-mxswKEpXP9QWdZQ3Jz3MXIECK98vrLJLSqAppir9U7A="; 23 }; 24 25 propagatedBuildInputs = [ 26 agate 27 sqlalchemy 28 ]; 29 30 nativeCheckInputs = [ 31 crate 32 geojson 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "agatesql" ]; 37 38 meta = with lib; { 39 description = "Adds SQL read/write support to agate"; 40 homepage = "https://github.com/wireservice/agate-sql"; 41 license = with licenses; [ mit ]; 42 maintainers = [ ]; 43 }; 44}