uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
49
pkgs/development/python-modules/prox-tv/default.nix
Normal file
49
pkgs/development/python-modules/prox-tv/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, blas
|
||||
, lapack
|
||||
, buildPythonPackage
|
||||
, cffi
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, numpy
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "prox-tv";
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albarji";
|
||||
repo = "proxTV";
|
||||
rev = "e621585d5aaa7983fbee68583f7deae995d3bafb";
|
||||
sha256 = "0mlrjbb5rw78dgijkr3bspmsskk6jqs9y7xpsgs35i46dvb327q5";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
cffi
|
||||
];
|
||||
|
||||
# this test is known to fail on darwin
|
||||
checkPhase = ''
|
||||
nosetests --exclude=test_tvp_1d ${lib.optionalString stdenv.isDarwin " --exclude=test_tv2_1d"}
|
||||
'';
|
||||
|
||||
propagatedNativeBuildInputs = [ 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue