gnugo: disable format hardening
This commit is contained in:
parent
e266c6a2c1
commit
847f9994e4
|
@ -1,25 +1,20 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gnugo-${version}";
|
||||||
versionNumber = "3.8";
|
version = "3.8";
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
|
|
||||||
name = "gnugo-${versionNumber}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gnugo/gnugo-${versionNumber}.tar.gz";
|
url = "mirror://gnu/gnugo/gnugo-${version}.tar.gz";
|
||||||
sha256 = "0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s";
|
sha256 = "0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNU Go - A computer go player";
|
description = "GNU Go - A computer go player";
|
||||||
homepage = "http://http://www.gnu.org/software/gnugo/";
|
homepage = "http://http://www.gnu.org/software/gnugo/";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue