Merge papers: 47.0 -> 47.3 (#379765)
[NixPkgs.git] / pkgs / development / python-modules / dnfile / default.nix
blobe4577f402dbf962e2de7c84546918a518ef2d33d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pefile,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "dnfile";
13   version = "0.15.1";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "malwarefrank";
20     repo = "dnfile";
21     tag = "v${version}";
22     hash = "sha256-AdGXcdoBNWZ4f8NBP50Fp3in1FTVPFDifGhjeAfp46M=";
23     fetchSubmodules = true;
24   };
26   build-system = [ setuptools ];
28   dependencies = [ pefile ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "dnfile" ];
34   meta = with lib; {
35     description = "Module to parse .NET executable files";
36     homepage = "https://github.com/malwarefrank/dnfile";
37     changelog = "https://github.com/malwarefrank/dnfile/blob/v${version}/HISTORY.rst";
38     license = with licenses; [ mit ];
39     maintainers = with maintainers; [ fab ];
40   };