blob: 2cd66636b016b88529c5759fe3525ff018d31bfe (
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
|
{ lib
, fetchFromGitHub
, buildPythonPackage
, pyparsing
, six
, urwid
}:
buildPythonPackage rec {
pname = "configshell";
version = "1.1.29";
src = fetchFromGitHub {
owner = "open-iscsi";
repo = "${pname}-fb";
rev = "v${version}";
sha256 = "0mjj3c9335sph8rhwww7j4zvhyk896fbmx887vibm89w3jpvjjr9";
};
propagatedBuildInputs = [
pyparsing
six
urwid
];
postPatch = ''
substituteInPlace setup.py \
--replace "pyparsing >=2.0.2,<3.0" "pyparsing >=2.0.2"
'';
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"configshell"
];
meta = with lib; {
description = "Python library for building configuration shells";
homepage = "https://github.com/open-iscsi/configshell-fb";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|