blob: 7502d2daf3cc5cd19cf1190f3ce0cb7831cb7f45 (
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
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
blas,
lapack,
buildPythonPackage,
cffi,
fetchFromGitHub,
setuptools,
pytestCheckHook,
numpy,
stdenv,
}:
buildPythonPackage {
pname = "prox-tv";
version = "3.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "albarji";
repo = "proxTV";
rev = "e621585d5aaa7983fbee68583f7deae995d3bafb";
sha256 = "0mlrjbb5rw78dgijkr3bspmsskk6jqs9y7xpsgs35i46dvb327q5";
};
build-system = [ setuptools ];
dependencies = [
numpy
cffi
];
buildInputs = [
blas
lapack
];
propagatedNativeBuildInputs = [ cffi ];
enableParallelBuilding = true;
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ "test_tvp_1d" ] ++ lib.optionals stdenv.isDarwin [ "test_tv2_1d" ];
meta = with lib; {
homepage = "https://github.com/albarji/proxTV";
description = "Toolbox for fast Total Variation proximity operators";
license = licenses.bsd2;
maintainers = with maintainers; [ multun ];
};
}
|