Commit b6bda769 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Pakcages.dncil: init at 1.0.2

Module to disassemble Common Intermediate Language (CIL) instructions

https://github.com/mandiant/dncil
parent 0b7c1558
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "dncil";
  version = "1.0.2";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "mandiant";
    repo = "dncil";
    rev = "refs/tags/v${version}";
    hash = "sha256-bndkiXkIYTd071J+mgkmJmA+9J5yJ+9/oDfAypN7wYo=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "dncil" ];

  meta = {
    description = "Module to disassemble Common Intermediate Language (CIL) instructions";
    homepage = "https://github.com/mandiant/dncil";
    changelog = "https://github.com/mandiant/dncil/releases/tag/v${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3624,6 +3624,8 @@ self: super: with self; {
  dnachisel = callPackage ../development/python-modules/dnachisel { };
  dncil = callPackage ../development/python-modules/dncil { };
  dnf-plugins-core = callPackage ../development/python-modules/dnf-plugins-core { };
  dnf4 = callPackage ../development/python-modules/dnf4 { };