2019-12-29 13:55:12 +01:00
|
|
|
{ lib
|
|
|
|
, blas
|
2020-03-31 16:47:18 +02:00
|
|
|
, lapack
|
2019-12-29 13:55:12 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, cffi
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "prox-tv";
|
|
|
|
version = "3.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "albarji";
|
|
|
|
repo = "proxTV";
|
|
|
|
rev = "e621585d5aaa7983fbee68583f7deae995d3bafb";
|
|
|
|
sha256 = "0mlrjbb5rw78dgijkr3bspmsskk6jqs9y7xpsgs35i46dvb327q5";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
cffi
|
|
|
|
];
|
|
|
|
|
2021-10-20 07:05:44 +02:00
|
|
|
propagatedNativeBuildInputs = [ cffi ];
|
|
|
|
|
2020-03-31 16:47:18 +02:00
|
|
|
buildInputs = [ blas lapack ];
|
2019-12-29 13:55:12 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/albarji/proxTV";
|
2019-12-29 13:55:12 +01:00
|
|
|
description = "A toolbox for fast Total Variation proximity operators";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ multun ];
|
|
|
|
};
|
|
|
|
}
|