Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, libX11, libXt, libXext, libXaw }: 2 3stdenv.mkDerivation rec { 4 pname = "darcnes"; 5 version = "9b0401"; 6 7 src = fetchurl { 8 url = "https://web.archive.org/web/20130511081532/http://www.dridus.com/~nyef/darcnes/download/dn${version}.tgz"; 9 sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3"; 10 }; 11 12 patches = [ ./label.patch ]; 13 14 buildInputs = [ libX11 libXt libXext libXaw ]; 15 installPhase = "install -Dt $out/bin darcnes"; 16 17 meta = { 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. 21 license = lib.licenses.free; 22 platforms = [ "i686-linux" ]; 23 }; 24}