blob: 232927aace707d34bc876b7be39bd032595da0d6 (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
|
{ 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 ];
};
}
|