nixpkgs/pkgs/games/xboard/default.nix

33 lines
906 B
Nix
Raw Normal View History

2012-12-12 06:29:49 +01:00
{stdenv, fetchurl, libX11, xproto, libXt, libXaw, libSM, libICE, libXmu
, libXext, gnuchess, texinfo, libXpm
}:
let
s = # Generated upstream information
rec {
baseName="xboard";
version="4.6.2";
name="${baseName}-${version}";
hash="1pw90fh1crf0nkqyql54z728vn2093hwdh2v5i5703z9qv9g4mrf";
url="http://ftp.gnu.org/gnu/xboard/xboard-4.6.2.tar.gz";
sha256="1pw90fh1crf0nkqyql54z728vn2093hwdh2v5i5703z9qv9g4mrf";
};
buildInputs = [
libX11 xproto libXt libXaw libSM libICE libXmu
libXext gnuchess texinfo libXpm
];
in
2012-12-12 06:29:49 +01:00
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
2012-12-12 06:29:49 +01:00
inherit (s) url sha256;
};
meta = {
2012-12-12 06:29:49 +01:00
inherit (s) version;
description = ''GUI for chess engines'';
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3Plus;
};
}