1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 pyparsing,
6 six,
7 urwid,
8}:
9
10buildPythonPackage rec {
11 pname = "configshell";
12 version = "1.1.30";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "open-iscsi";
17 repo = "${pname}-fb";
18 rev = "v${version}";
19 hash = "sha256-7iWmYVCodwncoPdpw85zrNsZSEq+ume412lyiiJqRPc=";
20 };
21
22 propagatedBuildInputs = [
23 pyparsing
24 six
25 urwid
26 ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "configshell" ];
32
33 meta = with lib; {
34 description = "Python library for building configuration shells";
35 homepage = "https://github.com/open-iscsi/configshell-fb";
36 license = licenses.asl20;
37 maintainers = [ ];
38 };
39}