Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-cstruct / default.nix
bloba1ed699aef371d5baca74c7e06551ba92e775217
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , setuptools-scm
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "dissect-cstruct";
12   version = "3.13";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchFromGitHub {
18     owner = "fox-it";
19     repo = "dissect.cstruct";
20     rev = "refs/tags/${version}";
21     hash = "sha256-QfnvWCI67y8GdCfXIRaehzb26IVZ8N0muUnNpr1NGJo=";
22   };
24   nativeBuildInputs = [
25     setuptools
26     setuptools-scm
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "dissect.cstruct"
35   ];
37   meta = with lib; {
38     description = "Dissect module implementing a parser for C-like structures";
39     homepage = "https://github.com/fox-it/dissect.cstruct";
40     changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${version}";
41     license = licenses.agpl3Only;
42     maintainers = with maintainers; [ fab ];
43   };