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
33
pkgs/development/libraries/SDL_ttf/default.nix
Normal file
33
pkgs/development/libraries/SDL_ttf/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, SDL, freetype }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL_ttf";
|
||||
version = "2.0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
|
||||
sha256 = "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Bug #830: TTF_RenderGlyph_Shaded is broken
|
||||
(fetchpatch {
|
||||
url = "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=830";
|
||||
sha256 = "0cfznfzg1hs10wl349z9n8chw80i5adl3iwhq4y102g0xrjyb72d";
|
||||
})
|
||||
];
|
||||
|
||||
patchFlags = [ "-p0" ];
|
||||
|
||||
buildInputs = [ SDL freetype ];
|
||||
|
||||
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
|
||||
|
||||
meta = with lib; {
|
||||
description = "SDL TrueType library";
|
||||
license = licenses.zlib;
|
||||
platforms = platforms.all;
|
||||
homepage = "https://www.libsdl.org/projects/SDL_ttf/release-1.2.html";
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue