nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01: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.31.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0wg0l3aghkxcwp74liw115qjzy6w18hn80mhsz4lrjpnbpaivi18";
};
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;
};
}