Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 50 lines 804 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, boto3 5, diskcache 6, enum34 7, packaging 8, pathlib 9, numpy 10, requests 11, scikitimage 12, six 13, pytest 14, isPy27 15}: 16 17buildPythonPackage rec { 18 pname = "slicedimage"; 19 version = "3.2.0"; 20 21 src = fetchPypi { 22 inherit pname version; 23 sha256 = "adab09457e22465f05998fdcf8ea14179185f8e780a4021526ba163dd476cd02"; 24 }; 25 26 propagatedBuildInputs = [ 27 boto3 28 diskcache 29 packaging 30 numpy 31 requests 32 scikitimage 33 six 34 ] ++ lib.optionals isPy27 [ pathlib enum34 ]; 35 36 checkInputs = [ 37 pytest 38 ]; 39 40 checkPhase = '' 41 pytest 42 ''; 43 44 meta = with lib; { 45 description = "Library to access sliced imaging data"; 46 homepage = https://github.com/spacetx/slicedimage; 47 license = licenses.mit; 48 maintainers = [ maintainers.costrouc ]; 49 }; 50}