d56f44df06
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
57 lines
955 B
Nix
57 lines
955 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cdcs
|
|
, datamodeldict
|
|
, fetchFromGitHub
|
|
, ipython
|
|
, lxml
|
|
, numpy
|
|
, pandas
|
|
, pymongo
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yabadaba";
|
|
version = "0.1.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "usnistgov";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Svw15epiSMEGMuFuMLqX2C9YFGtRtdg7DW2OVLPRmNI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cdcs
|
|
datamodeldict
|
|
ipython
|
|
lxml
|
|
numpy
|
|
pandas
|
|
pymongo
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"yabadaba"
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d);
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Abstraction layer allowing for common interactions with databases and records";
|
|
homepage = "https://github.com/usnistgov/yabadaba";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|