2022-08-12 12:06:08 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, python2, gtk2, readline }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-19 23:45:15 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnubg";
|
|
|
|
version = "1.06.002";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gnubg.org/media/sources/gnubg-release-${version}-sources.tar.gz";
|
|
|
|
sha256 = "11xwhcli1h12k6rnhhyq4jphzrhfik7i8ah3k32pqw803460n6yf";
|
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
nativeBuildInputs = [ pkg-config python2 glib ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
buildInputs = [ gtk2 readline ];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--with-gtk" "--with--board3d" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
{ description = "World class backgammon application";
|
|
|
|
homepage = "http://www.gnubg.org/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|