Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dvc-objects / default.nix
blob217782a34e6c6a90159c3690506370858498f0db
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 = "1.2.0";
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-kTp0CowXtnLXetcnoCeqlXoadgaQhL5mTYTfq9QLIl8=";
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   nativeCheckInputs = [
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     changelog = "https://github.com/iterative/dvc-objects/releases/tag/${version}";
60     license = licenses.asl20;
61     maintainers = with maintainers; [ fab ];
62   };