From f224751a1a6858f11333e87b348d6bc10c633c3c Mon Sep 17 00:00:00 2001 From: Pamplemousse Date: Mon, 15 Jul 2019 13:13:55 -0700 Subject: [PATCH] pythonPackages.pefile: init at 2019.4.18 --- .../python-modules/pefile/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/pefile/default.nix diff --git a/pkgs/development/python-modules/pefile/default.nix b/pkgs/development/python-modules/pefile/default.nix new file mode 100644 index 000000000000..92a0d064f49c --- /dev/null +++ b/pkgs/development/python-modules/pefile/default.nix @@ -0,0 +1,30 @@ +{ buildPythonPackage +, future +, fetchPypi +, lib +}: + +buildPythonPackage rec { + pname = "pefile"; + version = "2019.4.18"; + + propagatedBuildInputs = [ future ]; + + src = fetchPypi { + inherit pname version; + sha256 = "a5d6e8305c6b210849b47a6174ddf9c452b2888340b8177874b862ba6c207645"; + }; + + # Test data encrypted. + doCheck = false; + + # Verify import still works. + pythonImportsCheck = [ "pefile" ]; + + meta = with lib; { + description = "Multi-platform Python module to parse and work with Portable Executable (aka PE) files"; + homepage = "https://github.com/erocarrera/pefile"; + license = licenses.mit; + maintainers = [ maintainers.pamplemousse ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 061033f94196..260aa7884e4e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -858,6 +858,8 @@ in { pyperf = callPackage ../development/python-modules/pyperf { }; + pefile = callPackage ../development/python-modules/pefile { }; + perfplot = callPackage ../development/python-modules/perfplot { }; phonopy = callPackage ../development/python-modules/phonopy { };