Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 41 lines 737 B view raw
1{ lib 2, blas 3, lapack 4, buildPythonPackage 5, cffi 6, fetchFromGitHub 7, nose 8, numpy 9}: 10 11buildPythonPackage { 12 pname = "prox-tv"; 13 version = "3.3.0"; 14 15 src = fetchFromGitHub { 16 owner = "albarji"; 17 repo = "proxTV"; 18 rev = "e621585d5aaa7983fbee68583f7deae995d3bafb"; 19 sha256 = "0mlrjbb5rw78dgijkr3bspmsskk6jqs9y7xpsgs35i46dvb327q5"; 20 }; 21 22 checkInputs = [ 23 nose 24 ]; 25 26 propagatedBuildInputs = [ 27 numpy 28 cffi 29 ]; 30 31 buildInputs = [ blas lapack ]; 32 33 enableParallelBuilding = true; 34 35 meta = with lib; { 36 homepage = "https://github.com/albarji/proxTV"; 37 description = "A toolbox for fast Total Variation proximity operators"; 38 license = licenses.bsd2; 39 maintainers = with maintainers; [ multun ]; 40 }; 41}