chocolate-doom: 2.3.0 -> 3.0.0
This commit is contained in:
parent
594b74c476
commit
134f200cef
|
@ -1,17 +1,22 @@
|
|||
{ stdenv, autoreconfHook, pkgconfig, SDL, SDL_mixer, SDL_net, fetchurl }:
|
||||
{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chocolate-doom-2.3.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/chocolate-doom/chocolate-doom/archive/${name}.tar.gz";
|
||||
sha256 = "0i57smxmbhxj0wgvxq845ba9zsn5nx5wmzkl71rdchyd4q5jmida";
|
||||
pname = "chocolate-doom";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chocolate-doom";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0ajzb767wyj8vzhjpsmgslw42b0155ji4alk26shxl7k5ijbzn0j";
|
||||
};
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ SDL SDL_mixer SDL_net ];
|
||||
patchPhase = ''
|
||||
|
||||
postPatch = ''
|
||||
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ SDL2 SDL2_mixer SDL2_net ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in New Issue