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
32
pkgs/development/python-modules/piexif/default.nix
Normal file
32
pkgs/development/python-modules/piexif/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, pillow }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "piexif";
|
||||
version = "1.1.3";
|
||||
|
||||
# patch does not apply to PyPI sdist due to different line endings
|
||||
src = fetchFromGitHub {
|
||||
owner = "hMatoba";
|
||||
repo = "Piexif";
|
||||
rev = version;
|
||||
sha256 = "1akmaxq1cjr8wghwaaql1bd3sajl8psshl58lprgfsigrvnklp8b";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix tests with Pillow >= 7.2.0: https://github.com/hMatoba/Piexif/pull/109
|
||||
(fetchpatch {
|
||||
url = "https://github.com/hMatoba/Piexif/commit/5209b53e9689ce28dcd045f384633378d619718f.patch";
|
||||
sha256 = "0ak571jf76r1vszp2g3cd5c16fz2zkbi43scayy933m5qdrhd8g1";
|
||||
})
|
||||
];
|
||||
|
||||
# Pillow needed for unit tests
|
||||
checkInputs = [ pillow ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simplify Exif manipulations with Python";
|
||||
homepage = "https://github.com/hMatoba/Piexif";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue