mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
60 lines
971 B
Nix
60 lines
971 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cdcs
|
|
, datamodeldict
|
|
, fetchFromGitHub
|
|
, ipython
|
|
, lxml
|
|
, numpy
|
|
, pandas
|
|
, pymongo
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, tqdm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yabadaba";
|
|
version = "0.1.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "usnistgov";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-0Rwo2d3vEfXmeZvZA1udbGKxUERymeVhvyu+okqQDJk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cdcs
|
|
datamodeldict
|
|
ipython
|
|
lxml
|
|
numpy
|
|
pandas
|
|
pymongo
|
|
tqdm
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|