diff options
author | Bignaux Ronan <ronan@aimao.org> | 2018-08-05 14:23:52 +0200 |
---|---|---|
committer | Bignaux Ronan <ronan@aimao.org> | 2019-03-30 13:21:37 +0100 |
commit | 0e893ff3d55e7e0fb8f1de7349321012c52fc366 (patch) | |
tree | e1b6f8e0d7715364012cebf6c6b38e4e3bd6805f /pkgs/games/gscrabble | |
parent | 4bb6f26aeecbec7b7bf0dafdd00d54a97465df8d (diff) |
gscrabble: init at unstable-2019-03-11
Diffstat (limited to 'pkgs/games/gscrabble')
-rw-r--r-- | pkgs/games/gscrabble/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/games/gscrabble/default.nix b/pkgs/games/gscrabble/default.nix new file mode 100644 index 0000000000000..fc73f89f66c0b --- /dev/null +++ b/pkgs/games/gscrabble/default.nix @@ -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 ]; + }; +} |