mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
d0d198f0be
Diff: https://github.com/malwarefrank/dnfile/compare/refs/tags/v0.13.0...v0.14.1 Changelog: https://github.com/malwarefrank/dnfile/blob/v0.14.1/HISTORY.rst
49 lines
937 B
Nix
49 lines
937 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pefile
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dnfile";
|
|
version = "0.14.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "malwarefrank";
|
|
repo = "dnfile";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-5xkoG7c9Piwrv+9qour7MZ+rabdngtd05b0T+AU8tSo=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pefile
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"dnfile"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module to parse .NET executable files";
|
|
homepage = "hhttps://github.com/malwarefrank/dnfile";
|
|
changelog = "https://github.com/malwarefrank/dnfile/blob/v${version}/HISTORY.rst";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|