forked from mirrors/nixpkgs
a96b70b336
It's required in https://github.com/open-iscsi/configshell-fb/blob/master/configshell/node.py#L1062 and crashes when reaching the function with that import.
22 lines
575 B
Nix
22 lines
575 B
Nix
{ stdenv, fetchFromGitHub, buildPythonPackage, pyparsing, six, urwid }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "configshell";
|
|
version = "1.1.fb25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "open-iscsi";
|
|
repo ="${pname}-fb";
|
|
rev = "v${version}";
|
|
sha256 = "0zpr2n4105qqsklyfyr9lzl1rhxjcv0mnsl57hgk0m763w6na90h";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyparsing six urwid ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Python library for building configuration shells";
|
|
homepage = https://github.com/open-iscsi/configshell-fb;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|