1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/misc/emulators/darcnes/default.nix
Mateusz Kowalczyk 007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00

29 lines
688 B
Nix

{stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "darcnes-9b0401";
src = fetchurl {
url = http://www.dridus.com/~nyef/darcnes/download/dn9b0401.tgz;
sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
};
buildInputs = [ libX11 libXt libXext libXaw ];
installPhase = ''
mkdir -p $out/bin
cp darcnes $out/bin
'';
patches = [ ./label.patch ];
meta = {
homepage = http://www.dridus.com/~nyef/darcnes/;
description = "Multi-System emulator, specially for NES";
/* Prohibited commercial use, credit required. */
license = stdenv.lib.licenses.free;
};
}