1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 ipython,
6 numpy,
7 pandas,
8 pytestCheckHook,
9 requests,
10 responses,
11 setuptools,
12 tqdm,
13}:
14
15buildPythonPackage rec {
16 pname = "cdcs";
17 version = "0.2.6";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 owner = "usnistgov";
22 repo = "pycdcs";
23 tag = "v${version}";
24 hash = "sha256-P6fFL9yqnVbeUNBejnTcFowcf9xZP6XwheHwNUZKKlM=";
25 };
26
27 build-system = [ setuptools ];
28
29 dependencies = [
30 ipython
31 numpy
32 pandas
33 requests
34 tqdm
35 ];
36
37 nativeCheckInputs = [
38 pytestCheckHook
39 responses
40 ];
41
42 pythonImportsCheck = [ "cdcs" ];
43
44 meta = {
45 description = "Python client for performing REST calls to configurable data curation system (CDCS) databases";
46 homepage = "https://github.com/usnistgov/pycdcs";
47 changelog = "https://github.com/usnistgov/pycdcs/releases/tag/v${version}";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ fab ];
50 };
51}