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
30
pkgs/development/python-modules/qimage2ndarray/default.nix
Normal file
30
pkgs/development/python-modules/qimage2ndarray/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, numpy
|
||||
, pyqt5
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qimage2ndarray";
|
||||
version = "1.9.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-p5B1xtDYRDxEIu6WmlQJ5E/QJUVxYEzOqHXGyV4/Veo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pyqt5
|
||||
];
|
||||
|
||||
# no tests executed
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hmeine/qimage2ndarray";
|
||||
description = "A small python extension for quickly converting between QImages and numpy.ndarrays (in both directions)";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ tbenst ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue