blob: 778bb36ce4af57e0933229226e692766c7b84be1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pefile,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "dnfile";
version = "0.17.0";
pyproject = true;
src = fetchFromGitHub {
owner = "malwarefrank";
repo = "dnfile";
tag = "v${version}";
hash = "sha256-JiJ7qvBP0SDGMynQuu2AyCwHU9aDI7Pq5/Z9IiWPWng=";
fetchSubmodules = true;
};
build-system = [ setuptools ];
dependencies = [ pefile ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dnfile" ];
meta = {
description = "Module to parse .NET executable files";
homepage = "https://github.com/malwarefrank/dnfile";
changelog = "https://github.com/malwarefrank/dnfile/blob/${src.tag}/HISTORY.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|