summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/nixpkgs-pytools/default.nix
blob: 103286a0f0b1e99253cb7635006ad2c8714e2995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  jinja2,
  setuptools,
  rope,
  isPy27,
}:

buildPythonPackage rec {
  pname = "nixpkgs-pytools";
  version = "1.3.0";
  format = "setuptools";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "11skcbi1lf9qcv9j5ikifb4pakhbbygqpcmv3390j7gxsa85cn19";
  };

  propagatedBuildInputs = [
    jinja2
    setuptools
    rope
  ];

  # tests require network ..
  doCheck = false;

  meta = {
    description = "Tools for removing the tedious nature of creating nixpkgs derivations";
    homepage = "https://github.com/nix-community/nixpkgs-pytools";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}