mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
b6bda76957
Module to disassemble Common Intermediate Language (CIL) instructions https://github.com/mandiant/dncil
38 lines
835 B
Nix
38 lines
835 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|