diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-01 21:18:10 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-01 21:18:10 +0200 |
commit | fc639493a06cd6377df12726d419f96441e090f6 (patch) | |
tree | 2240caaad49bba93d6b03a133340ad79c88de8b3 /pkgs/development | |
parent | baedfc4da94daa30728d9ade4aa34f4a530d1e65 (diff) | |
download | nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar.gz nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar.bz2 nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar.lz nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar.xz nixlib-fc639493a06cd6377df12726d419f96441e090f6.tar.zst nixlib-fc639493a06cd6377df12726d419f96441e090f6.zip |
python3Packages.yabadaba: init at 0.1.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/yabadaba/default.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yabadaba/default.nix b/pkgs/development/python-modules/yabadaba/default.nix new file mode 100644 index 000000000000..d476e10adc76 --- /dev/null +++ b/pkgs/development/python-modules/yabadaba/default.nix @@ -0,0 +1,57 @@ +{ 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 ]; + }; +} |