1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/games/xboard/default.nix

34 lines
952 B
Nix
Raw Normal View History

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