1{ buildPythonPackage
2, future
3, fetchPypi
4, lib
5}:
6
7buildPythonPackage rec {
8 pname = "pefile";
9 version = "2019.4.18";
10
11 propagatedBuildInputs = [ future ];
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "a5d6e8305c6b210849b47a6174ddf9c452b2888340b8177874b862ba6c207645";
16 };
17
18 # Test data encrypted.
19 doCheck = false;
20
21 # Verify import still works.
22 pythonImportsCheck = [ "pefile" ];
23
24 meta = with lib; {
25 description = "Multi-platform Python module to parse and work with Portable Executable (aka PE) files";
26 homepage = "https://github.com/erocarrera/pefile";
27 license = licenses.mit;
28 maintainers = [ maintainers.pamplemousse ];
29 };
30}