Skip to content

Commit deb5e0e

Browse files
authored
python312Pakcages.dncil: init at 1.0.2 (#350438)
2 parents 264c6fb + b6bda76 commit deb5e0e

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
pytestCheckHook,
6+
pythonOlder,
7+
setuptools,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "dncil";
12+
version = "1.0.2";
13+
pyproject = true;
14+
15+
disabled = pythonOlder "3.8";
16+
17+
src = fetchFromGitHub {
18+
owner = "mandiant";
19+
repo = "dncil";
20+
rev = "refs/tags/v${version}";
21+
hash = "sha256-bndkiXkIYTd071J+mgkmJmA+9J5yJ+9/oDfAypN7wYo=";
22+
};
23+
24+
build-system = [ setuptools ];
25+
26+
nativeCheckInputs = [ pytestCheckHook ];
27+
28+
pythonImportsCheck = [ "dncil" ];
29+
30+
meta = {
31+
description = "Module to disassemble Common Intermediate Language (CIL) instructions";
32+
homepage = "https://github.com/mandiant/dncil";
33+
changelog = "https://github.com/mandiant/dncil/releases/tag/v${version}";
34+
license = lib.licenses.asl20;
35+
maintainers = with lib.maintainers; [ fab ];
36+
};
37+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3624,6 +3624,8 @@ self: super: with self; {
36243624

36253625
dnachisel = callPackage ../development/python-modules/dnachisel { };
36263626

3627+
dncil = callPackage ../development/python-modules/dncil { };
3628+
36273629
dnf-plugins-core = callPackage ../development/python-modules/dnf-plugins-core { };
36283630

36293631
dnf4 = callPackage ../development/python-modules/dnf4 { };

0 commit comments

Comments
 (0)