depot/third_party/nixpkgs/pkgs/games/gnuchess/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
654 B
Nix

{stdenv, fetchurl, flex}:
let
s = # Generated upstream information
rec {
baseName="gnuchess";
version="6.2.5";
name="${baseName}-${version}";
url="mirror://gnu/chess/${name}.tar.gz";
sha256="00j8s0npgfdi41a0mr5w9qbdxagdk2v41lcr42rwl1jp6miyk6cs";
};
buildInputs = [
flex
];
in
stdenv.mkDerivation {
inherit (s) name version;
src = fetchurl {
inherit (s) url sha256;
};
inherit buildInputs;
meta = {
inherit (s) version;
description = "GNU Chess engine";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl3Plus;
};
}