nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 57 lines 955 B view raw
1{ lib 2, buildPythonPackage 3, cdcs 4, datamodeldict 5, fetchFromGitHub 6, ipython 7, lxml 8, numpy 9, pandas 10, pymongo 11, pytestCheckHook 12, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "yabadaba"; 17 version = "0.1.2"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchFromGitHub { 23 owner = "usnistgov"; 24 repo = pname; 25 rev = "v${version}"; 26 hash = "sha256-Svw15epiSMEGMuFuMLqX2C9YFGtRtdg7DW2OVLPRmNI="; 27 }; 28 29 propagatedBuildInputs = [ 30 cdcs 31 datamodeldict 32 ipython 33 lxml 34 numpy 35 pandas 36 pymongo 37 ]; 38 39 checkInputs = [ 40 pytestCheckHook 41 ]; 42 43 pythonImportsCheck = [ 44 "yabadaba" 45 ]; 46 47 preCheck = '' 48 export HOME=$(mktemp -d); 49 ''; 50 51 meta = with lib; { 52 description = "Abstraction layer allowing for common interactions with databases and records"; 53 homepage = "https://github.com/usnistgov/yabadaba"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}