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
38
pkgs/development/python-modules/resampy/default.nix
Normal file
38
pkgs/development/python-modules/resampy/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, numpy
|
||||
, scipy
|
||||
, cython
|
||||
, numba
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "resampy";
|
||||
version = "0.2.2";
|
||||
|
||||
# No tests in PyPi Archive
|
||||
src = fetchFromGitHub {
|
||||
owner = "bmcfee";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-cov ];
|
||||
propagatedBuildInputs = [ numpy scipy cython numba six ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bmcfee/resampy";
|
||||
description = "Efficient signal resampling";
|
||||
license = licenses.isc;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue