nixpkgs/pkgs/games/gl-117/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

23 lines
691 B
Nix

{ stdenv, fetchurl
, libGLU_combined, SDL, freeglut, SDL_mixer, autoconf, automake, libtool
}:
stdenv.mkDerivation rec {
pname = "gl-117";
version = "1.3.2";
src = fetchurl {
url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/${pname}-${version}.tar.bz2";
sha256 = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4";
};
buildInputs = [ libGLU_combined SDL freeglut SDL_mixer autoconf automake libtool ];
meta = with stdenv.lib; {
description = "An air combat simulator";
homepage = https://sourceforge.net/projects/gl-117;
maintainers = with maintainers; [ raskin ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}