gnugo: disable format hardening

This commit is contained in:
Robin Gloster 2016-08-03 20:04:03 +00:00
parent e266c6a2c1
commit 847f9994e4

View File

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