nixpkgs-suyu/pkgs/games/rftg/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
574 B
Nix

{ stdenv, fetchurl, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
pname = "rftg";
version = "0.9.4";
src = fetchurl {
url = "http://keldon.net/rftg/rftg-${version}.tar.bz2";
sha256 = "0j2y6ggpwdlvyqhirp010aix2g6aacj3kvggvpwzxhig30x9vgq8";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2.dev ];
meta = {
homepage = http://keldon.net/rftg/;
description = "Implementation of the card game Race for the Galaxy, including an AI";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.falsifian ];
};
}