Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dissect-volume / default.nix
blobabddcf5d1d611a05cce91bc2cd4344e61d7a6061
1 { lib
2 , buildPythonPackage
3 , dissect-cstruct
4 , dissect-util
5 , fetchFromGitHub
6 , setuptools
7 , setuptools-scm
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "dissect-volume";
14   version = "3.9";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.volume";
22     rev = "refs/tags/${version}";
23     hash = "sha256-Bhi3p0joTNx1y/yBhehhG06WmM7gUJhIJbmqZY4DzLQ=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [
32     dissect-cstruct
33     dissect-util
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "dissect.volume"
42   ];
44   disabledTests = [
45     # gzip.BadGzipFile: Not a gzipped file
46     "test_ddf_read"
47     "test_dm_thin"
48     "test_lvm_mirro"
49     "test_lvm_thin"
50     "test_md_raid0_zones"
51     "test_md_read"
52   ];
54   meta = with lib; {
55     description = "Dissect module implementing various utility functions for the other Dissect modules";
56     homepage = "https://github.com/fox-it/dissect.volume";
57     changelog = "https://github.com/fox-it/dissect.volume/releases/tag/${version}";
58     license = licenses.agpl3Only;
59     maintainers = with maintainers; [ fab ];
60   };