Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 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.2.1"; 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 = "3aeaeb4782054a220e916c189ffe440d113b571d"; 27 hash = "sha256-OsabgO2B2PRhU3DVvkK+f9VLOMqctl4nyCETxLtzwNs="; 28 }; 29 30 nativeBuildInputs = [ 31 setuptools 32 ]; 33 34 propagatedBuildInputs = [ 35 ipython 36 numpy 37 pandas 38 requests 39 tqdm 40 ]; 41 42 nativeCheckInputs = [ 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}