Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 840 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libX11, 6 libXt, 7 libXext, 8 libXaw, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "darcnes"; 13 version = "9b0401"; 14 15 src = fetchurl { 16 url = "https://web.archive.org/web/20130511081532/http://www.dridus.com/~nyef/darcnes/download/dn${version}.tgz"; 17 sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3"; 18 }; 19 20 patches = [ ./label.patch ]; 21 22 buildInputs = [ 23 libX11 24 libXt 25 libXext 26 libXaw 27 ]; 28 installPhase = "install -Dt $out/bin darcnes"; 29 30 meta = { 31 homepage = "https://web.archive.org/web/20130502171725/http://www.dridus.com/~nyef/darcnes/"; 32 description = "Sega Master System, Game Gear, SG-1000, NES, ColecoVision and Apple II emulator"; 33 # Prohibited commercial use, credit required. 34 license = lib.licenses.free; 35 platforms = [ "i686-linux" ]; 36 }; 37}