evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / dissect-hypervisor / default.nix
blob4a1cb39782d36fca18d8497526cb9094419229d3
2   lib,
3   buildPythonPackage,
4   defusedxml,
5   dissect-cstruct,
6   dissect-util,
7   fetchFromGitHub,
8   pycryptodome,
9   pytestCheckHook,
10   pythonOlder,
11   rich,
12   setuptools,
13   setuptools-scm,
16 buildPythonPackage rec {
17   pname = "dissect-hypervisor";
18   version = "3.15";
19   pyproject = true;
21   disabled = pythonOlder "3.9";
23   src = fetchFromGitHub {
24     owner = "fox-it";
25     repo = "dissect.hypervisor";
26     rev = "refs/tags/${version}";
27     hash = "sha256-bSDO8MMkDbyJ8ylB5PXmVHnzp/4UYQ4NKhOTXONVBzc=";
28   };
30   build-system = [
31     setuptools
32     setuptools-scm
33   ];
35   dependencies = [
36     defusedxml
37     dissect-cstruct
38     dissect-util
39   ];
41   optional-dependencies = {
42     full = [
43       pycryptodome
44       rich
45     ];
46   };
48   nativeCheckInputs = [ pytestCheckHook ];
50   pythonImportsCheck = [ "dissect.hypervisor" ];
52   meta = with lib; {
53     description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files";
54     homepage = "https://github.com/fox-it/dissect.hypervisor";
55     changelog = "https://github.com/fox-it/dissect.hypervisor/releases/tag/${version}";
56     license = licenses.agpl3Only;
57     maintainers = with maintainers; [ fab ];
58   };