guile-sdl2: 0.1.0 -> 0.2.0
Autoconf, automake, and running `./bootstrap` is no longer required because we are now building from the tarball, which includes the generated ./configure script.
This commit is contained in:
parent
47710757db
commit
8543e31f66
@ -1,29 +1,24 @@
|
|||||||
{ stdenv, fetchgit, autoconf, automake, guile, libtool, pkgconfig
|
{ stdenv, fetchurl, guile, libtool, pkgconfig
|
||||||
, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer
|
, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "guile-sdl2";
|
pname = "guile-sdl2";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "git://dthompson.us/guile-sdl2.git";
|
url = "https://files.dthompson.us/${pname}/${name}.tar.gz";
|
||||||
rev = "048f80ddb5c6b03b87bba199a99a6f22d911bfff";
|
sha256 = "0yq9lsl17cdvj77padvpk3jcw2g6g0pck9jrchc7n2767rrc012b";
|
||||||
sha256 = "1v7bc2bsddb46qdzq7cyzlw5i2y175kh66mbzbjky85sjfypb084";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf automake guile libtool pkgconfig
|
guile libtool pkgconfig
|
||||||
SDL2 SDL2_image SDL2_ttf SDL2_mixer
|
SDL2 SDL2_image SDL2_ttf SDL2_mixer
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigurePhases = [ "bootstrapPhase" ];
|
|
||||||
|
|
||||||
bootstrapPhase = "./bootstrap";
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-libsdl2-prefix=${SDL2}"
|
"--with-libsdl2-prefix=${SDL2}"
|
||||||
"--with-libsdl2-image-prefix=${SDL2_image}"
|
"--with-libsdl2-image-prefix=${SDL2_image}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user