diff options
Diffstat (limited to 'pkgs/development/python-modules/pefile/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pefile/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
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 ]; + }; +} |