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
48
pkgs/development/python-modules/pywavelets/default.nix
Normal file
48
pkgs/development/python-modules/pywavelets/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, cython
|
||||
, nose
|
||||
, pytest
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyWavelets";
|
||||
version = "1.3.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-y6qdYgUtna+Np2X8jnwww46iuOnhwYhBkT37SuxnHuU=";
|
||||
};
|
||||
|
||||
checkInputs = [ nose pytest ];
|
||||
|
||||
buildInputs = [ cython ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# Somehow nosetests doesn't run the tests, so let's use pytest instead
|
||||
doCheck = false; # tests use relative paths, which fail to resolve
|
||||
checkPhase = ''
|
||||
py.test pywt/tests
|
||||
'';
|
||||
|
||||
# ensure compiled modules are present
|
||||
pythonImportsCheck = [
|
||||
"pywt"
|
||||
"pywt._extensions._cwt"
|
||||
"pywt._extensions._dwt"
|
||||
"pywt._extensions._pywt"
|
||||
"pywt._extensions._swt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wavelet transform module";
|
||||
homepage = "https://github.com/PyWavelets/pywt";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue