ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dissect-ntfs / default.nix
blobb8abeb1313abb22231005981462ae62286b79589
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-ntfs";
14   version = "3.1";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "fox-it";
21     repo = "dissect.ntfs";
22     rev = version;
23     hash = "sha256-hZz/v6qLZnbsZkS/cBU/to4XmZNgUJQwCaPkY2ebl4Q=";
24   };
26   SETUPTOOLS_SCM_PRETEND_VERSION = version;
28   nativeBuildInputs = [
29     setuptools
30     setuptools-scm
31   ];
33   propagatedBuildInputs = [
34     dissect-cstruct
35     dissect-util
36   ];
38   checkInputs = [
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "dissect.ntfs"
44   ];
46   disabledTestPaths = [
47     # Test is very time consuming
48     "tests/test_index.py"
49   ];
51   meta = with lib; {
52     description = "Dissect module implementing a parser for the NTFS file system";
53     homepage = "https://github.com/fox-it/dissect.ntfs";
54     license = licenses.agpl3Only;
55     maintainers = with maintainers; [ fab ];
56   };