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
31
pkgs/development/python-modules/minexr/default.nix
Normal file
31
pkgs/development/python-modules/minexr/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, pillow
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "minexr";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cheind";
|
||||
repo = "py-minexr";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Om67ttAHxu7C3IwPB+JHYi78E9qBi1E6layMVg4+S3M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
pythonImportsCheck = [ "minexr" ];
|
||||
checkInputs = [ pytestCheckHook pillow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal, standalone OpenEXR reader for single-part, uncompressed scan line files.";
|
||||
homepage = "https://github.com/cheind/py-minexr";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lucasew ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue