summary refs log tree commit diff
path: root/pkgs/development/python-modules/pefile/default.nix
blob: 92a0d064f49c468db4d22821dd36329e9e8b57ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 ];
  };
}