mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
gweled: unstable-2021-02-11 -> 1.0-beta1 (#350174)
This commit is contained in:
commit
20547e3c34
51
pkgs/by-name/gw/gweled/package.nix
Normal file
51
pkgs/by-name/gw/gweled/package.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchgit,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
desktop-file-utils,
|
||||
clutter,
|
||||
clutter-gtk,
|
||||
gsound,
|
||||
libgnome-games-support,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gweled";
|
||||
version = "1.0-beta1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.launchpad.net/gweled";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-cm1z6l2tfYBFVFcvsnQ6cI3pQDnJMzn6SUC20gnBF5w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
clutter
|
||||
clutter-gtk
|
||||
gsound
|
||||
libgnome-games-support
|
||||
];
|
||||
|
||||
configureFlags = [ "--disable-setgid" ];
|
||||
|
||||
meta = {
|
||||
description = "Puzzle game similar to Bejeweled or Diamond Mine";
|
||||
mainProgram = "gweled";
|
||||
homepage = "https://gweled.org";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
};
|
||||
})
|
|
@ -1,35 +0,0 @@
|
|||
{ lib, stdenv, fetchbzr, gettext
|
||||
, gtk2, wrapGAppsHook3, autoreconfHook, pkg-config
|
||||
, libmikmod, librsvg, libcanberra-gtk2, hicolor-icon-theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gweled";
|
||||
version = "unstable-2021-02-11";
|
||||
|
||||
src = fetchbzr {
|
||||
url = "lp:gweled";
|
||||
rev = "108";
|
||||
hash = "sha256-rM4dgbYfSrVqZwi+xzKuEtmtjK3HVvqeutmni1vleLo=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac --replace "AM_GNU_GETTEXT_VERSION([0.19.8])" "AM_GNU_GETTEXT_VERSION([${gettext.version}])"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook3 gettext autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ gtk2 libmikmod librsvg hicolor-icon-theme libcanberra-gtk2 ];
|
||||
|
||||
configureFlags = [ "--disable-setgid" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bejeweled clone game";
|
||||
mainProgram = "gweled";
|
||||
homepage = "https://gweled.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
|
@ -34655,8 +34655,6 @@ with pkgs;
|
|||
|
||||
gtypist = callPackage ../games/gtypist { };
|
||||
|
||||
gweled = callPackage ../games/gweled { };
|
||||
|
||||
harmonist = callPackage ../games/harmonist { };
|
||||
|
||||
hase = callPackage ../games/hase { };
|
||||
|
|
Loading…
Reference in a new issue