nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 dissect-cstruct, 5 dissect-util, 6 fetchFromGitHub, 7 setuptools, 8 setuptools-scm, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "dissect-cim"; 14 version = "3.13"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "fox-it"; 19 repo = "dissect.cim"; 20 tag = version; 21 hash = "sha256-S3EbGWLajfWTy0h0cmECHmHH/QLu5WmhnqTCQWSbYs8="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 dissect-cstruct 31 dissect-util 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "dissect.cim" ]; 37 38 # gzip.BadGzipFile: Not a gzipped file 39 doCheck = false; 40 41 meta = { 42 description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database"; 43 homepage = "https://github.com/fox-it/dissect.cim"; 44 changelog = "https://github.com/fox-it/dissect.cim/releases/tag/${src.tag}"; 45 license = lib.licenses.agpl3Only; 46 maintainers = with lib.maintainers; [ fab ]; 47 }; 48}