mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
python3Packages.pefile: 2019.4.18 -> 2021.5.24
This commit is contained in:
parent
d4d246cbce
commit
d9cd01bb2a
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user