1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, scipy 6, matplotlib 7, pytest 8}: 9 10buildPythonPackage rec { 11 pname = "regional"; 12 version = "1.1.2"; 13 14 src = fetchFromGitHub { 15 owner = "freeman-lab"; 16 repo = pname; 17 rev = "e3a29c58982e5cd3d5700131ac96e5e0b84fb981"; # no tags in repo 18 sha256 = "03qgm35q9sa5cy0kkw4bj60zfylw0isfzb96nlhdfrsigzs2zkxv"; 19 }; 20 21 propagatedBuildInputs = [ 22 numpy 23 scipy 24 matplotlib 25 ]; 26 27 checkInputs = [ 28 pytest 29 ]; 30 31 checkPhase = '' 32 pytest 33 ''; 34 35 meta = with lib; { 36 description = "Simple manipualtion and display of spatial regions"; 37 homepage = "https://github.com/freeman-lab/regional"; 38 license = licenses.mit; 39 maintainers = [ maintainers.costrouc ]; 40 }; 41}