ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dvc-objects / default.nix
blob7e6a37a12d904776e4c77513e2c9fc7075ceddb5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flatten-dict
5 , fsspec
6 , funcy
7 , pygtrie
8 , pytest-mock
9 , pytestCheckHook
10 , pythonOlder
11 , setuptools-scm
12 , shortuuid
13 , tqdm
14 , typing-extensions
17 buildPythonPackage rec {
18   pname = "dvc-objects";
19   version = "0.1.7";
20   format = "pyproject";
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "iterative";
26     repo = pname;
27     rev = "refs/tags/${version}";
28     hash = "sha256-Edp2MRhe/eTUosL4XQfVbtwFWBg3D5RDWRb6r1C4MgE=";
29   };
31   SETUPTOOLS_SCM_PRETEND_VERSION = version;
33   nativeBuildInputs = [
34     setuptools-scm
35   ];
37   propagatedBuildInputs = [
38     flatten-dict
39     fsspec
40     funcy
41     pygtrie
42     shortuuid
43     tqdm
44     typing-extensions
45   ];
47   checkInputs = [
48     pytest-mock
49     pytestCheckHook
50   ];
52   pythonImportsCheck = [
53     "dvc_objects"
54   ];
56   meta = with lib; {
57     description = "Library for DVC objects";
58     homepage = "https://github.com/iterative/dvc-objects";
59     license = licenses.asl20;
60     maintainers = with maintainers; [ fab ];
61   };