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