Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 64 lines 1.4 kB view raw
1{ 2 lib, 3 buildPythonApplication, 4 fetchFromGitHub, 5 gtk3, 6 wrapGAppsHook3, 7 gst_all_1, 8 gobject-introspection, 9 gst-python, 10 pygobject3, 11 adwaita-icon-theme, 12}: 13 14buildPythonApplication { 15 pname = "gscrabble"; 16 version = "unstable-2020-04-21"; 17 format = "setuptools"; 18 19 src = fetchFromGitHub { 20 owner = "RaaH"; 21 repo = "gscrabble"; 22 rev = "aba37f062a6b183dcc084c453f395af1dc437ec8"; 23 sha256 = "sha256-rYpPHgOlPRnlA+Nkvo/J+/8/vl24/Ssk55fTq9oNCz4="; 24 }; 25 26 doCheck = false; 27 28 nativeBuildInputs = [ 29 wrapGAppsHook3 30 gobject-introspection 31 ]; 32 33 buildInputs = with gst_all_1; [ 34 gst-plugins-base 35 gst-plugins-good 36 gst-plugins-ugly 37 gst-plugins-bad 38 adwaita-icon-theme 39 gtk3 40 ]; 41 42 propagatedBuildInputs = [ 43 gst-python 44 pygobject3 45 ]; 46 47 preFixup = '' 48 gappsWrapperArgs+=( 49 --prefix PYTHONPATH : "$out/share/GScrabble/modules" 50 ) 51 ''; 52 53 meta = with lib; { 54 # Fails to build, probably incompatible with latest Python 55 # error: Multiple top-level packages discovered in a flat-layout 56 # https://github.com/RaaH/gscrabble/issues/13 57 broken = true; 58 description = "Golden Scrabble crossword puzzle game"; 59 homepage = "https://github.com/RaaH/gscrabble/"; 60 license = licenses.gpl2Plus; 61 platforms = platforms.linux; 62 maintainers = with maintainers; [ onny ]; 63 }; 64}