Loading pkgs/development/python-modules/prodict/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { buildPythonPackage , fetchFromGitHub , pythonOlder , pytestCheckHook , lib }: buildPythonPackage rec { pname = "prodict"; version = "0.8.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ramazanpolat"; repo = pname; rev = version; hash = "sha256-c46JEQFg4KRwerqpMSgh6+tYRpKTOX02Lzsq4/meS3o="; }; # make setuptools happy on case-sensitive filesystems postPatch = ''if [[ ! -f README.md ]]; then mv README.MD README.md; fi''; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "prodict" ]; meta = { description = "Access Python dictionary as a class with type hinting and autocompletion"; homepage = "https://github.com/ramazanpolat/prodict"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6969,6 +6969,8 @@ self: super: with self; { ppdeep = callPackage ../development/python-modules/ppdeep { }; prodict = callPackage ../development/python-modules/prodict { }; proxy_tools = callPackage ../development/python-modules/proxy_tools { }; py-nextbusnext = callPackage ../development/python-modules/py-nextbusnext { }; Loading Loading
pkgs/development/python-modules/prodict/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { buildPythonPackage , fetchFromGitHub , pythonOlder , pytestCheckHook , lib }: buildPythonPackage rec { pname = "prodict"; version = "0.8.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ramazanpolat"; repo = pname; rev = version; hash = "sha256-c46JEQFg4KRwerqpMSgh6+tYRpKTOX02Lzsq4/meS3o="; }; # make setuptools happy on case-sensitive filesystems postPatch = ''if [[ ! -f README.md ]]; then mv README.MD README.md; fi''; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "prodict" ]; meta = { description = "Access Python dictionary as a class with type hinting and autocompletion"; homepage = "https://github.com/ramazanpolat/prodict"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bcdarwin ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6969,6 +6969,8 @@ self: super: with self; { ppdeep = callPackage ../development/python-modules/ppdeep { }; prodict = callPackage ../development/python-modules/prodict { }; proxy_tools = callPackage ../development/python-modules/proxy_tools { }; py-nextbusnext = callPackage ../development/python-modules/py-nextbusnext { }; Loading