at 23.05-pre 1.0 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, ipython 5, numpy 6, pandas 7, pytestCheckHook 8, pythonOlder 9, requests 10, responses 11, setuptools 12, tqdm 13}: 14 15buildPythonPackage rec { 16 pname = "cdcs"; 17 version = "0.1.9"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "usnistgov"; 24 repo = "pycdcs"; 25 # https://github.com/usnistgov/pycdcs/issues/1 26 rev = "0a770b752301c27e227ca40a4752f305b55dee20"; 27 sha256 = "sha256-AUrVEFea4VtBJXWWgECqdBFCqKuHWAlh07Dljp+HBa0="; 28 }; 29 30 nativeBuildInputs = [ 31 setuptools 32 ]; 33 34 propagatedBuildInputs = [ 35 ipython 36 numpy 37 pandas 38 requests 39 tqdm 40 ]; 41 42 checkInputs = [ 43 pytestCheckHook 44 responses 45 ]; 46 47 pythonImportsCheck = [ 48 "cdcs" 49 ]; 50 51 meta = with lib; { 52 description = "Python client for performing REST calls to configurable data curation system (CDCS) databases"; 53 homepage = "https://github.com/usnistgov/pycdcs"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}