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
52
pkgs/development/guile-modules/guile-sdl2/default.nix
Normal file
52
pkgs/development/guile-modules/guile-sdl2/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, SDL2_mixer
|
||||
, SDL2_ttf
|
||||
, guile
|
||||
, libtool
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-sdl2";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://files.dthompson.us/${pname}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-h0osCURnYTUQFrKw0i7Jd+QCI8piR1NUE2lbxPv87aQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
libtool
|
||||
];
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
SDL2_mixer
|
||||
SDL2_ttf
|
||||
guile
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-libsdl2-image-prefix=${SDL2_image}"
|
||||
"--with-libsdl2-mixer-prefix=${SDL2_mixer}"
|
||||
"--with-libsdl2-prefix=${SDL2}"
|
||||
"--with-libsdl2-ttf-prefix=${SDL2_ttf}"
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"GUILE_AUTO_COMPILE=0"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dthompson.us/projects/guile-sdl2.html";
|
||||
description = "Bindings to SDL2 for GNU Guile";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ seppeljordan vyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue