nixpkgs/pkgs/games/xboard/default.nix

34 lines
962 B
Nix
Raw Normal View History

2012-12-12 09:29:49 +04:00
{stdenv, fetchurl, libX11, xproto, libXt, libXaw, libSM, libICE, libXmu
2013-03-07 10:58:25 +04:00
, libXext, gnuchess, texinfo, libXpm, pkgconfig, librsvg, cairo
2012-12-12 09:29:49 +04:00
}:
let
s = # Generated upstream information
rec {
baseName="xboard";
2013-10-20 21:08:25 +04:00
version="4.7.2";
2012-12-12 09:29:49 +04:00
name="${baseName}-${version}";
2013-10-20 21:08:25 +04:00
hash="1vm95fjp3pkvvjvamfs7zqw4l4b4v7v52h2npvf9j5059fckcrwv";
url="http://ftp.gnu.org/gnu/xboard/xboard-4.7.2.tar.gz";
sha256="1vm95fjp3pkvvjvamfs7zqw4l4b4v7v52h2npvf9j5059fckcrwv";
2012-12-12 09:29:49 +04:00
};
buildInputs = [
libX11 xproto libXt libXaw libSM libICE libXmu
2013-03-07 10:58:25 +04:00
libXext gnuchess texinfo libXpm pkgconfig librsvg
cairo
];
in
2012-12-12 09:29:49 +04:00
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
2012-12-12 09:29:49 +04:00
inherit (s) url sha256;
};
meta = {
2012-12-12 09:29:49 +04:00
inherit (s) version;
description = ''GUI for chess engines'';
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3Plus;
};
}