3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #44505 from bignaux/gscrabble

gscrabble: init at unstable-2019-03-11
This commit is contained in:
Florian Klink 2019-03-30 22:05:43 +01:00 committed by GitHub
commit db83699ad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ stdenv, buildPythonApplication, fetchFromGitHub
, gtk3, wrapGAppsHook, gst_all_1, gobject-introspection
, python3Packages, gnome3, hicolor-icon-theme }:
buildPythonApplication rec {
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
hicolor-icon-theme gnome3.adwaita-icon-theme gtk3 gobject-introspection
];
propagatedBuildInputs = with python3Packages; [ gst-python pygobject3 ];
preFixup = ''
gappsWrapperArgs+=(
--prefix PYTHONPATH : "$out/share/GScrabble/modules"
)
'';
meta = with stdenv.lib; {
description = "Golden Scrabble crossword puzzle game";
homepage = https://github.com/RaaH/gscrabble/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.genesis ];
};
}

View file

@ -20915,6 +20915,8 @@ in
gogui = callPackage ../games/gogui {};
gscrabble = python3Packages.callPackage ../games/gscrabble {};
gshogi = python3Packages.callPackage ../games/gshogi {};
gtetrinet = callPackage ../games/gtetrinet {