2018-08-05 15:23:52 +03:00
|
|
|
{ stdenv, buildPythonApplication, fetchFromGitHub
|
|
|
|
, gtk3, wrapGAppsHook, gst_all_1, gobject-introspection
|
2019-09-12 17:25:05 +03:00
|
|
|
, python3Packages, gnome3 }:
|
2018-08-05 15:23:52 +03:00
|
|
|
|
2019-08-14 00:52:01 +03:00
|
|
|
buildPythonApplication {
|
2018-08-05 15:23:52 +03:00
|
|
|
pname = "gscrabble";
|
|
|
|
version = "unstable-2019-03-11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RaaH";
|
|
|
|
repo = "gscrabble";
|
|
|
|
rev = "4b6e4e151a4cd4a4f66a5be2c8616becac3f2a29";
|
|
|
|
sha256 = "0a89kqh04x52q7qyv1rfa7xif0pdw3zc0dw5a24msala919g90q2";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = with gst_all_1; [
|
|
|
|
gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad
|
2019-09-12 17:25:05 +03:00
|
|
|
gnome3.adwaita-icon-theme gtk3 gobject-introspection
|
2018-08-05 15:23:52 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ gst-python pygobject3 ];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PYTHONPATH : "$out/share/GScrabble/modules"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Golden Scrabble crossword puzzle game";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/RaaH/gscrabble/";
|
2018-08-05 15:23:52 +03:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.genesis ];
|
|
|
|
};
|
|
|
|
}
|