Merge pull request #86379 from lsix/gnuchess-6.2.6
gnuchess: 6.2.5 -> 6.2.6
This commit is contained in:
commit
f39fd19303
|
@ -1,12 +1,12 @@
|
||||||
{stdenv, fetchurl, flex}:
|
{stdenv, fetchurl, flex, makeWrapper}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
baseName="gnuchess";
|
baseName="gnuchess";
|
||||||
version="6.2.5";
|
version="6.2.6";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
url="mirror://gnu/chess/${name}.tar.gz";
|
url="mirror://gnu/chess/${name}.tar.gz";
|
||||||
sha256="00j8s0npgfdi41a0mr5w9qbdxagdk2v41lcr42rwl1jp6miyk6cs";
|
sha256="0kxhdv01ia91v2y0cmzbll391ns2vbmn65jjrv37h4s1srszh5yn";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
flex
|
flex
|
||||||
|
@ -18,6 +18,13 @@ stdenv.mkDerivation {
|
||||||
inherit (s) url sha256;
|
inherit (s) url sha256;
|
||||||
};
|
};
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/gnuchessx --set PATH "$out/bin"
|
||||||
|
wrapProgram $out/bin/gnuchessu --set PATH "$out/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
inherit (s) version;
|
||||||
description = "GNU Chess engine";
|
description = "GNU Chess engine";
|
||||||
|
|
Loading…
Reference in New Issue