mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
43 lines
737 B
Nix
43 lines
737 B
Nix
{
|
|
stdenv,
|
|
boost,
|
|
gtk2,
|
|
gettext,
|
|
intltool,
|
|
fetchurl,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
lib,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "morris";
|
|
version = "0.3";
|
|
src = fetchurl {
|
|
url = "https://nine-mens-morris.net/data/morris-${finalAttrs.version}.tar.bz2";
|
|
hash = "sha256-f1kOpYB1oXOAKqwb1ya0jfJA5vqxA+v8MjEZ1zPPutM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
intltool
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
gtk2
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-boost=${boost.dev}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Nine Men's Morris game";
|
|
homepage = "https://github.com/farindk/morris";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|