1{ lib
2, buildPythonPackage
3, fetchPypi
4, jinja2
5, setuptools
6, rope
7, isPy27
8}:
9
10buildPythonPackage rec {
11 pname = "nixpkgs-pytools";
12 version = "1.3.0";
13 disabled = isPy27;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
18 };
19
20 propagatedBuildInputs = [
21 jinja2
22 setuptools
23 rope
24 ];
25
26 # tests require network ..
27 doCheck = false;
28
29 meta = with lib; {
30 description = "Tools for removing the tedious nature of creating nixpkgs derivations";
31 homepage = "https://github.com/nix-community/nixpkgs-pytools";
32 license = licenses.mit;
33 maintainers = [ maintainers.costrouc ];
34 };
35}