Merge pull request #29854 from yegortimoshenko/darcnes/cleanup
darcnes: use web.archive.org links, clean up
This commit is contained in:
commit
0a3dae8225
|
@ -1,28 +1,24 @@
|
||||||
{stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
|
{ stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
|
||||||
|
|
||||||
assert stdenv.system == "i686-linux";
|
stdenv.mkDerivation rec {
|
||||||
|
name = "darcnes-${version}";
|
||||||
|
version = "9b0401";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "darcnes-9b0401";
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.dridus.com/~nyef/darcnes/download/dn9b0401.tgz;
|
url = "https://web.archive.org/web/20130511081532/http://www.dridus.com/~nyef/darcnes/download/dn${version}.tgz";
|
||||||
sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
|
sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libX11 libXt libXext libXaw ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp darcnes $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [ ./label.patch ];
|
patches = [ ./label.patch ];
|
||||||
|
|
||||||
meta = {
|
buildInputs = [ libX11 libXt libXext libXaw ];
|
||||||
homepage = http://www.dridus.com/~nyef/darcnes/;
|
installPhase = "install -Dt $out/bin darcnes";
|
||||||
description = "Multi-System emulator, specially for NES";
|
|
||||||
/* Prohibited commercial use, credit required. */
|
|
||||||
license = stdenv.lib.licenses.free;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/;
|
||||||
|
description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator";
|
||||||
|
# Prohibited commercial use, credit required.
|
||||||
|
license = stdenv.lib.licenses.free;
|
||||||
|
platforms = [ "i686-linux" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue