Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dvc-gs / default.nix
blobe36ec61a88c3ff3a4935cf13659de004a73ce7c2
1 { lib
2 , buildPythonPackage
3 , dvc-objects
4 , fetchPypi
5 , gcsfs
6 , pythonRelaxDepsHook
7 , setuptools-scm }:
9 buildPythonPackage rec {
10   pname = "dvc-gs";
11   version = "2.22.1";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     hash = "sha256-IKDwdSfolZwv8TvHHicVV42PYeULhskv8csbkiJzLbk=";
17   };
19   # Prevent circular dependency
20   pythonRemoveDeps = [ "dvc" ];
22   nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
24   propagatedBuildInputs = [ gcsfs dvc-objects ];
26   # Network access is needed for tests
27   doCheck = false;
29   pythonImportsCheck = [ "dvc_gs" ];
31   meta = with lib; {
32     description = "gs plugin for dvc";
33     homepage = "https://pypi.org/project/dvc-gs/version";
34     changelog = "https://github.com/iterative/dvc-gs/releases/tag/${version}";
35     license = licenses.asl20;
36     maintainers = with maintainers; [ melling ];
37   };