Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, pyparsing 5, six 6, urwid 7}: 8 9buildPythonPackage rec { 10 pname = "configshell"; 11 version = "1.1.30"; 12 13 src = fetchFromGitHub { 14 owner = "open-iscsi"; 15 repo = "${pname}-fb"; 16 rev = "v${version}"; 17 hash = "sha256-7iWmYVCodwncoPdpw85zrNsZSEq+ume412lyiiJqRPc="; 18 }; 19 20 propagatedBuildInputs = [ 21 pyparsing 22 six 23 urwid 24 ]; 25 26 # Module has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "configshell" 31 ]; 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 = with maintainers; [ ]; 38 }; 39}