mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
1c8aba8334
This makes packages use lapack and blas, which can wrap different BLAS/LAPACK implementations. treewide: cleanup from blas/lapack changes A few issues in the original treewide: - can’t assume blas64 is a bool - unused commented code
42 lines
737 B
Nix
42 lines
737 B
Nix
{ lib
|
|
, blas
|
|
, lapack
|
|
, 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
|
|
];
|
|
|
|
buildInputs = [ blas lapack ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/albarji/proxTV";
|
|
description = "A toolbox for fast Total Variation proximity operators";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ multun ];
|
|
};
|
|
}
|