about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/markerlib/default.nix
blob: 640b11a6f28099366a30bf8b952e083754cd7176 (plain) (blame)
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
{ stdenv
, buildPythonPackage
, fetchPypi
, setuptools
, nose
}:

buildPythonPackage rec {
  version = "0.6.0";
  pname = "markerlib";

  src = fetchPypi {
    inherit pname version;
    sha256 = "2fdb3939441f5bf4f090b1979a34f84a11d33eed6c0e3995de88ae5c06b6e3ae";
  };

  buildInputs = [ setuptools ];
  checkInputs = [ nose ];

  checkPhase = ''
    nosetests
  '';

  meta = with stdenv.lib; {
    homepage = https://bitbucket.org/dholth/markerlib/;
    description = "A compiler for PEP 345 environment markers";
    license = licenses.mit;
    maintainers = [ maintainers.costrouc ];
  };
}