nixpkgs/pkgs/applications/misc/gnome-recipes/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.3 KiB
Nix
Raw Normal View History

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