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
|
||||
}:
|
||||
|
||||
let
|
||||
name = "${pname}-${version}";
|
||||
pname = "guile-sdl2";
|
||||
version = "0.1.0";
|
||||
version = "0.2.0";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://dthompson.us/guile-sdl2.git";
|
||||
rev = "048f80ddb5c6b03b87bba199a99a6f22d911bfff";
|
||||
sha256 = "1v7bc2bsddb46qdzq7cyzlw5i2y175kh66mbzbjky85sjfypb084";
|
||||
src = fetchurl {
|
||||
url = "https://files.dthompson.us/${pname}/${name}.tar.gz";
|
||||
sha256 = "0yq9lsl17cdvj77padvpk3jcw2g6g0pck9jrchc7n2767rrc012b";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoconf automake guile libtool pkgconfig
|
||||
guile libtool pkgconfig
|
||||
SDL2 SDL2_image SDL2_ttf SDL2_mixer
|
||||
];
|
||||
|
||||
preConfigurePhases = [ "bootstrapPhase" ];
|
||||
|
||||
bootstrapPhase = "./bootstrap";
|
||||
|
||||
configureFlags = [
|
||||
"--with-libsdl2-prefix=${SDL2}"
|
||||
"--with-libsdl2-image-prefix=${SDL2_image}"
|
||||
|
Loading…
Reference in New Issue
Block a user