mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
989dfc7c2e
Diff: https://github.com/erocarrera/pefile/compare/refs/tags/v2022.5.30...v2023.2.7 Changelog: https://github.com/erocarrera/pefile/releases/tag/v2023.2.7
46 lines
930 B
Nix
46 lines
930 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, future
|
|
, fetchFromGitHub
|
|
, setuptools-scm
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pefile";
|
|
version = "2023.2.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "erocarrera";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-lD8GpNl+cVNYTZUKFRF1/2kDwEbn/ekRBNBTYuFmFW0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
future
|
|
];
|
|
|
|
# Test data encrypted
|
|
doCheck = false;
|
|
|
|
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";
|
|
changelog = "https://github.com/erocarrera/pefile/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pamplemousse ];
|
|
};
|
|
}
|