2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk3, wrapGAppsHook, gst_all_1, gobject-introspection
|
2021-05-20 23:08:51 +00:00
|
|
|
, python3Packages, gnome }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonApplication {
|
|
|
|
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
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme gtk3 gobject-introspection
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ gst-python pygobject3 ];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PYTHONPATH : "$out/share/GScrabble/modules"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Golden Scrabble crossword puzzle game";
|
|
|
|
homepage = "https://github.com/RaaH/gscrabble/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2020-11-21 19:51:51 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|