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

20 lines
478 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "gnugo";
version = "3.8";
src = fetchurl {
url = "mirror://gnu/gnugo/gnugo-${version}.tar.gz";
sha256 = "0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s";
};
hardeningDisable = [ "format" ];
meta = {
description = "GNU Go - A computer go player";
homepage = https://www.gnu.org/software/gnugo/;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
};
}