nixpkgs/pkgs/development/python-modules/cdcs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
828 B
Nix
Raw Normal View History

2021-11-16 16:16:15 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
2022-04-01 20:04:52 +02:00
version = "0.1.8";
2021-11-16 16:16:15 +01:00
pname = "cdcs";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "usnistgov";
repo = "pycdcs";
rev = "v${version}";
2022-04-01 20:04:52 +02:00
sha256 = "sha256-s+COE7hus1J5I8PTdagl7KEK5QFoidjQ3ee46kOWmkE=";
2021-11-16 16:16:15 +01:00
};
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 ];
};
}