mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
a211d94291
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
78 lines
1.3 KiB
Nix
78 lines
1.3 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitLab
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, desktop-file-utils
|
|
, gettext
|
|
, itstool
|
|
, python3
|
|
, wrapGAppsHook
|
|
, gtk3
|
|
, glib
|
|
, libsoup
|
|
, gnome-online-accounts
|
|
, librest
|
|
, json-glib
|
|
, gnome-autoar
|
|
, gspell
|
|
, libcanberra
|
|
, nix-update-script
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-recipes";
|
|
version = "2.0.4";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "GNOME";
|
|
repo = "recipes";
|
|
rev = version;
|
|
fetchSubmodules = true;
|
|
sha256 = "GyFOwEYmipQdFLtTXn7+NvhDTzxBlOAghr3cZT4QpQw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
desktop-file-utils
|
|
gettext
|
|
itstool
|
|
python3
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
glib
|
|
libsoup
|
|
gnome-online-accounts
|
|
librest
|
|
json-glib
|
|
gnome-autoar
|
|
gspell
|
|
libcanberra
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x src/list_to_c.py
|
|
patchShebangs src/list_to_c.py
|
|
patchShebangs meson_post_install.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Recipe management application for GNOME";
|
|
homepage = "https://wiki.gnome.org/Apps/Recipes";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|