mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
77 lines
1.6 KiB
Nix
77 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
fetchpatch,
|
|
pkg-config,
|
|
gnome,
|
|
adwaita-icon-theme,
|
|
gtk3,
|
|
wrapGAppsHook3,
|
|
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/${lib.versions.majorMinor version}/gnome-taquin-${version}.tar.xz";
|
|
hash = "sha256-lts9j61JeSSnOQrRCKPvckMqHWLSRWyuXhk0BXAYgU8=";
|
|
};
|
|
|
|
patches = [
|
|
# Fix build with recent Vala.
|
|
(fetchpatch {
|
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/99dea5e7863e112f33f16e59898c56a4f1a547b3.patch";
|
|
hash = "sha256-U7djuMhb1XJaKAPyogQjaunOkbBK24r25YD7BgH05P4=";
|
|
})
|
|
(fetchpatch {
|
|
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/66be44dc20d114e449fc33156e3939fd05dfbb16.patch";
|
|
hash = "sha256-RN41RCLHlJyXTARSH9qjsmpYi1UFeMRssoYxRsbngDQ=";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
meson
|
|
ninja
|
|
python3
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
vala
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
librsvg
|
|
gsound
|
|
adwaita-icon-theme
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript { packageName = "gnome-taquin"; };
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-taquin";
|
|
description = "Move tiles so that they reach their places";
|
|
mainProgram = "gnome-taquin";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|