1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/cdcs/default.nix

45 lines
829 B
Nix
Raw Normal View History

2021-11-16 15:16:15 +00:00
{ 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 ];
};
}