nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

35 lines
1.0 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, libcanberra-gtk3, clutter-gtk, intltool, itstool
, libxml2, libgee, libgnome-games-support }:
stdenv.mkDerivation rec {
pname = "gnome-nibbles";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0g627pzbfywiy2rsh4aidgbln9s4j5m8pryw4cgr5ygc4z8l6l9p";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
buildInputs = [
gtk3 librsvg libcanberra-gtk3 clutter-gtk gnome3.adwaita-icon-theme
libgee libgnome-games-support
];
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-nibbles";
attrPath = "gnome3.gnome-nibbles";
};
};
meta = with stdenv.lib; {
description = "Guide a worm around a maze";
homepage = https://wiki.gnome.org/Apps/Nibbles;
license = licenses.gpl2;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}