nixpkgs/pkgs/games/xboard/default.nix

36 lines
1 KiB
Nix
Raw Normal View History

2021-01-15 05:31:39 +01:00
{lib, stdenv, fetchurl, libX11, xorgproto, libXt, libXaw, libSM, libICE, libXmu
, libXext, gnuchess, texinfo, libXpm, pkg-config, librsvg, cairo, pango
2016-05-15 22:12:35 +02:00
, gtk2
2012-12-12 06:29:49 +01:00
}:
let
s = # Generated upstream information
rec {
baseName="xboard";
2016-08-10 19:30:49 +02:00
version="4.9.1";
2012-12-12 06:29:49 +01:00
name="${baseName}-${version}";
2016-08-10 19:30:49 +02:00
hash="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
url="https://ftp.gnu.org/gnu/xboard/xboard-4.9.1.tar.gz";
2016-08-10 19:30:49 +02:00
sha256="1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib";
2012-12-12 06:29:49 +01:00
};
buildInputs = [
libX11 xorgproto libXt libXaw libSM libICE libXmu
libXext gnuchess texinfo libXpm pkg-config librsvg
2016-05-15 22:12:35 +02:00
cairo pango gtk2
];
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";
homepage = "https://www.gnu.org/software/xboard/";
2021-01-15 05:31:39 +01:00
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
license = lib.licenses.gpl3Plus;
};
}