1{ lib
2, buildPythonPackage
3, fetchPypi
4, pbr
5, prettytable
6, pyparsing
7, six
8, stevedore
9, pyyaml
10, unicodecsv
11, cmd2
12}:
13
14buildPythonPackage rec {
15 pname = "cliff";
16 version = "2.15.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "fe044273539250a99a5b9915843902e40e4e9b32ac5698c1fae89e31200d649f";
21 };
22
23 propagatedBuildInputs = [
24 pbr
25 prettytable
26 pyparsing
27 six
28 stevedore
29 pyyaml
30 cmd2
31 unicodecsv
32 ];
33
34 # test dependencies are complex
35 # and would require about 20 packages
36 # to be added
37 doCheck = false;
38
39 meta = with lib; {
40 description = "Command Line Interface Formulation Framework";
41 homepage = https://docs.openstack.org/cliff/latest/;
42 license = licenses.asl20;
43 maintainers = [ maintainers.costrouc ];
44 };
45}