mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
45 lines
828 B
Nix
45 lines
828 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, numpy
|
|
, pandas
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.1.6";
|
|
pname = "cdcs";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "usnistgov";
|
|
repo = "pycdcs";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-w9CBNOK9oXTIUa+SsnepRN0wAz7WPZGfUNDSbtVn1L8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|