4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ lib, stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
, librsvg, gsound, gettext, itstool, libxml2
|
|
, meson, ninja, vala, python3, desktop-file-utils
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-taquin";
|
|
version = "3.38.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0kw131q0ad0rbsp6qifjc8fjlhvjxyihil8a76kj8ya9mn7kvnwn";
|
|
};
|
|
|
|
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 gsound
|
|
gnome3.adwaita-icon-theme
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Taquin";
|
|
description = "Move tiles so that they reach their places";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|