at master 944 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pefile"; 11 version = "2024.8.26"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.6"; 15 16 # DON'T fetch from github, the repo is >60 MB due to test artifacts, which we cannot use 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-P/bF2LQ+jDe7bm3VCFZY1linoL3NILagex/PwcTp1jI="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 # Test data contains proprietary executables and malware, and is therefore encrypted 25 doCheck = false; 26 27 pythonImportsCheck = [ "pefile" ]; 28 29 meta = with lib; { 30 description = "Multi-platform Python module to parse and work with Portable Executable (aka PE) files"; 31 homepage = "https://github.com/erocarrera/pefile"; 32 changelog = "https://github.com/erocarrera/pefile/releases/tag/v${version}"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ pamplemousse ]; 35 }; 36}