at 22.05-pre 829 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, pandas 6, pytestCheckHook 7, pythonOlder 8, requests 9}: 10 11buildPythonPackage rec { 12 version = "0.1.5"; 13 pname = "cdcs"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "usnistgov"; 20 repo = "pycdcs"; 21 rev = "v${version}"; 22 sha256 = "0sd0s0mka2bvpxxiz98cjc2h5ncsb7d03af1q3w9w8pmvfsgj7pc"; 23 }; 24 25 propagatedBuildInputs = [ 26 numpy 27 pandas 28 requests 29 ]; 30 31 # Project has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "cdcs" 36 ]; 37 38 meta = with lib; { 39 description = "Python client for performing REST calls to configurable data curation system (CDCS) databases"; 40 homepage = "https://github.com/usnistgov/pycdcs"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}