nixpkgs/pkgs/desktops/gnome-3/games/gnome-taquin/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 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, libcanberra-gtk3, gettext, itstool, libxml2
, meson, ninja, vala, python3, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-taquin";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1kyxh68gg7clxg22ls4sliisxb2sydwccbxqgfvxjg2fklr6r1lm";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-taquin"; attrPath = "gnome3.gnome-taquin"; };
};
nativeBuildInputs = [
pkgconfig wrapGAppsHook meson ninja python3
gettext itstool libxml2 vala desktop-file-utils
];
buildInputs = [
gtk3 librsvg libcanberra-gtk3
gnome3.adwaita-icon-theme
];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Taquin;
description = "Move tiles so that they reach their places";
maintainers = gnome3.maintainers;
license = licenses.gpl3;
platforms = platforms.linux;
};
}