2021-10-31 10:10:43 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
2018-03-22 13:24:44 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config
|
2018-03-22 13:24:44 +01:00
|
|
|
, desktop-file-utils
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, libsoup
|
|
|
|
, gnome-online-accounts
|
2019-02-13 22:47:50 +01:00
|
|
|
, librest
|
2018-03-22 13:24:44 +01:00
|
|
|
, json-glib
|
|
|
|
, gnome-autoar
|
|
|
|
, gspell
|
2021-10-31 10:10:43 +01:00
|
|
|
, libcanberra
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
2018-03-22 13:24:44 +01:00
|
|
|
|
2021-10-31 10:10:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-22 13:24:44 +01:00
|
|
|
pname = "gnome-recipes";
|
2021-10-31 10:10:43 +01:00
|
|
|
version = "2.0.4";
|
2018-03-22 13:24:44 +01:00
|
|
|
|
2021-10-31 10:10:43 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "recipes";
|
|
|
|
rev = version;
|
|
|
|
fetchSubmodules = true;
|
|
|
|
sha256 = "GyFOwEYmipQdFLtTXn7+NvhDTzxBlOAghr3cZT4QpQw=";
|
2018-03-22 13:24:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 03:09:27 +01:00
|
|
|
pkg-config
|
2018-03-22 13:24:44 +01:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libsoup
|
|
|
|
gnome-online-accounts
|
2019-02-13 22:47:50 +01:00
|
|
|
librest
|
2018-03-22 13:24:44 +01:00
|
|
|
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 = {
|
2021-10-31 10:10:43 +01:00
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
2018-03-22 13:24:44 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-03-22 13:24:44 +01:00
|
|
|
description = "Recipe management application for GNOME";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Recipes";
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2021-10-31 10:10:43 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2018-03-22 13:24:44 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|