nixpkgs/pkgs/misc/emulators/stella/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

32 lines
946 B
Nix

{ stdenv, fetchurl, pkgconfig, SDL2 }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "stella";
version = "4.6.1";
src = fetchurl {
url = "mirror://sourceforge/project/stella/stella/${version}/${pname}-${version}-src.tar.gz";
sha256 = "126jph21b70jlxapzmll8pq36i53lb304hbsiap25160vdqid4n1";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ SDL2 ];
meta = {
description = "An open-source Atari 2600 VCS emulator";
longDescription = ''
Stella is a multi-platform Atari 2600 VCS emulator released under
the GNU General Public License (GPL). Stella was originally
developed for Linux by Bradford W. Mott, and is currently
maintained by Stephen Anthony.
As of its 3.5 release, Stella is officially donationware.
'';
homepage = http://stella.sourceforge.net/;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}