nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 dulwich,
5 fetchFromGitHub,
6 gitpython,
7 requests,
8 setuptools-scm,
9 voluptuous,
10}:
11
12buildPythonPackage rec {
13 pname = "dvc-studio-client";
14 version = "0.22.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "iterative";
19 repo = "dvc-studio-client";
20 tag = version;
21 hash = "sha256-pMjLbtsUD0fj4OcJI8FufQRYe7HJ0S8z1jYK0Ri7uWA=";
22 };
23
24 build-system = [ setuptools-scm ];
25
26 dependencies = [
27 dulwich
28 gitpython
29 requests
30 voluptuous
31 ];
32
33 pythonImportsCheck = [ "dvc_studio_client" ];
34
35 # Tests try to access network
36 doCheck = false;
37
38 meta = {
39 description = "Library to post data from DVC/DVCLive to Iterative Studio";
40 homepage = "https://github.com/iterative/dvc-studio-client";
41 changelog = "https://github.com/iterative/dvc-studio-client/releases/tag/${src.tag}";
42 license = lib.licenses.asl20;
43 };
44}