Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
893 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pefile, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "dnfile"; version = "0.16.4"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "malwarefrank"; repo = "dnfile"; tag = "v${version}"; hash = "sha256-xizjWY+ByGDOI7HyzT5U4vqmPT2woU7z/3eV0KXDb8Y="; fetchSubmodules = true; };
build-system = [ setuptools ];
dependencies = [ pefile ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dnfile" ];
meta = with lib; { description = "Module to parse .NET executable files"; homepage = "https://github.com/malwarefrank/dnfile"; changelog = "https://github.com/malwarefrank/dnfile/blob/v${version}/HISTORY.rst"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}