python3Packages.cdcs: init at 0.1.5

This commit is contained in:
Fabian Affolter 2021-11-16 16:16:15 +01:00
parent 7d210bcb4c
commit 10e1f32e5a
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
version = "0.1.5";
pname = "cdcs";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "usnistgov";
repo = "pycdcs";
rev = "v${version}";
sha256 = "0sd0s0mka2bvpxxiz98cjc2h5ncsb7d03af1q3w9w8pmvfsgj7pc";
};
propagatedBuildInputs = [
numpy
pandas
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"cdcs"
];
meta = with lib; {
description = "Python client for performing REST calls to configurable data curation system (CDCS) databases";
homepage = "https://github.com/usnistgov/pycdcs";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1409,6 +1409,8 @@ in {
cchardet = callPackage ../development/python-modules/cchardet { };
cdcs = callPackage ../development/python-modules/cdcs { };
celery = callPackage ../development/python-modules/celery { };
cement = callPackage ../development/python-modules/cement { };