lol

Merge pull request #29854 from yegortimoshenko/darcnes/cleanup

darcnes: use web.archive.org links, clean up

authored by

Joachim F and committed by
GitHub
0a3dae82 05b2f855

+12 -16
+12 -16
pkgs/misc/emulators/darcnes/default.nix
··· 1 - {stdenv, fetchurl, libX11, libXt, libXext, libXaw }: 1 + { stdenv, fetchurl, libX11, libXt, libXext, libXaw }: 2 2 3 - assert stdenv.system == "i686-linux"; 3 + stdenv.mkDerivation rec { 4 + name = "darcnes-${version}"; 5 + version = "9b0401"; 4 6 5 - stdenv.mkDerivation { 6 - name = "darcnes-9b0401"; 7 7 src = fetchurl { 8 - url = http://www.dridus.com/~nyef/darcnes/download/dn9b0401.tgz; 8 + url = "https://web.archive.org/web/20130511081532/http://www.dridus.com/~nyef/darcnes/download/dn${version}.tgz"; 9 9 sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3"; 10 10 }; 11 11 12 - buildInputs = [ libX11 libXt libXext libXaw ]; 13 - 14 - installPhase = '' 15 - mkdir -p $out/bin 16 - cp darcnes $out/bin 17 - ''; 12 + patches = [ ./label.patch ]; 18 13 19 - patches = [ ./label.patch ]; 14 + buildInputs = [ libX11 libXt libXext libXaw ]; 15 + installPhase = "install -Dt $out/bin darcnes"; 20 16 21 17 meta = { 22 - homepage = http://www.dridus.com/~nyef/darcnes/; 23 - description = "Multi-System emulator, specially for NES"; 24 - /* Prohibited commercial use, credit required. */ 18 + homepage = https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/; 19 + description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator"; 20 + # Prohibited commercial use, credit required. 25 21 license = stdenv.lib.licenses.free; 22 + platforms = [ "i686-linux" ]; 26 23 }; 27 - 28 24 }