blob: 4b424f76a2e39ff909cdb621cc88e5a90dacab36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, matplotlib
, pytest
}:
buildPythonPackage rec {
pname = "showit";
version = "1.1.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "freeman-lab";
repo = pname;
rev = "ef76425797c71fbe3795b4302c49ab5be6b0bacb"; # no tags in repo
sha256 = "0xd8isrlwwxlgji90lly1sq4l2a37rqvhsmyhv7bd3aj1dyjmdr6";
};
propagatedBuildInputs = [
numpy
matplotlib
];
nativeCheckInputs = [
pytest
];
checkPhase = ''
pytest test
'';
meta = with lib; {
description = "simple and sensible display of images";
homepage = "https://github.com/freeman-lab/showit";
license = licenses.mit;
maintainers = [ ];
};
}
|