about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/clize/default.nix
blob: ef7047afe7ddef207c08faf26cee4150f3be7ee1 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, sigtools
, six
, attrs
, od
, docutils
, repeated_test
, unittest2
, pygments
}:

buildPythonPackage rec {
  pname = "clize";
  version = "4.0.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "dbcfba5571dc30aaf90dc98fc279e2aab69d0f8f3665fc0394fbc10a87a2be60";
  };

  checkInputs = [ 
    dateutil
    pygments
    repeated_test
    unittest2
  ];
  
  propagatedBuildInputs = [ 
    attrs
    docutils
    od
    sigtools
    six
  ];

  meta = with stdenv.lib; {
    description = "Command-line argument parsing for Python";
    homepage = "https://github.com/epsy/clize";
    license = licenses.mit;
  };

}