python3Packages.pefile: 2019.4.18 -> 2021.5.24

This commit is contained in:
Fabian Affolter 2021-06-30 19:33:22 +02:00 committed by Jonathan Ringer
parent d4d246cbce
commit d9cd01bb2a

View File

@ -1,24 +1,34 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, future
, fetchPypi
, lib
, fetchFromGitHub
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "pefile";
version = "2019.4.18";
version = "2021.5.24";
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ future ];
src = fetchPypi {
inherit pname version;
sha256 = "a5d6e8305c6b210849b47a6174ddf9c452b2888340b8177874b862ba6c207645";
src = fetchFromGitHub {
owner = "erocarrera";
repo = pname;
rev = "v${version}";
sha256 = "0qdy88dvy29ixsyfqdcvf3w6rz09vpimk0568i09v1ayhs52p62k";
};
# Test data encrypted.
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
future
];
# Test data encrypted
doCheck = false;
# Verify import still works.
pythonImportsCheck = [ "pefile" ];
meta = with lib; {