python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / dissect-ntfs / default.nix
blob8f53e47b179bd4bfcd9141c6908b897078d9bc32
2   lib,
3   buildPythonPackage,
4   dissect-cstruct,
5   dissect-util,
6   fetchFromGitHub,
7   setuptools,
8   setuptools-scm,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "dissect-ntfs";
15   version = "3.13";
16   pyproject = true;
18   disabled = pythonOlder "3.11";
20   src = fetchFromGitHub {
21     owner = "fox-it";
22     repo = "dissect.ntfs";
23     rev = "refs/tags/${version}";
24     hash = "sha256-DOxyPlHBv4PEbHeGC/pj2QzbGhKFjw6QOAJmhq6Fc3k=";
25   };
27   build-system = [
28     setuptools
29     setuptools-scm
30   ];
32   dependencies = [
33     dissect-cstruct
34     dissect-util
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "dissect.ntfs" ];
41   disabledTestPaths = [
42     # Test is very time consuming
43     "tests/test_index.py"
44   ];
46   meta = with lib; {
47     description = "Dissect module implementing a parser for the NTFS file system";
48     homepage = "https://github.com/fox-it/dissect.ntfs";
49     changelog = "https://github.com/fox-it/dissect.ntfs/releases/tag/${version}";
50     license = licenses.agpl3Only;
51     maintainers = with maintainers; [ fab ];
52   };