gnome-recipes: 2.0.2 → 2.0.4
https://gitlab.gnome.org/GNOME/recipes/-/compare/2.0.2...2.0.4
This commit is contained in:
parent
a20a4af62a
commit
a5d70a83eb
|
@ -1,9 +1,9 @@
|
||||||
{ lib, stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, lib
|
||||||
|
, fetchFromGitLab
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gnome
|
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, gettext
|
, gettext
|
||||||
, itstool
|
, itstool
|
||||||
|
@ -17,17 +17,21 @@
|
||||||
, json-glib
|
, json-glib
|
||||||
, gnome-autoar
|
, gnome-autoar
|
||||||
, gspell
|
, gspell
|
||||||
, libcanberra }:
|
, libcanberra
|
||||||
|
, nix-update-script
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-recipes";
|
pname = "gnome-recipes";
|
||||||
version = "2.0.2";
|
version = "2.0.4";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
domain = "gitlab.gnome.org";
|
||||||
sha256 = "1yymii3yf823d9x28fbhqdqm1wa30s40j94x0am9fjj0nzyd5s8v";
|
owner = "GNOME";
|
||||||
|
repo = "recipes";
|
||||||
|
rev = version;
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "GyFOwEYmipQdFLtTXn7+NvhDTzxBlOAghr3cZT4QpQw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -53,10 +57,6 @@ in stdenv.mkDerivation rec {
|
||||||
libcanberra
|
libcanberra
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/36468
|
|
||||||
# https://gitlab.gnome.org/GNOME/recipes/issues/76
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x src/list_to_c.py
|
chmod +x src/list_to_c.py
|
||||||
patchShebangs src/list_to_c.py
|
patchShebangs src/list_to_c.py
|
||||||
|
@ -64,8 +64,8 @@ in stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = nix-update-script {
|
||||||
packageName = pname;
|
attrPath = pname;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
|
||||||
description = "Recipe management application for GNOME";
|
description = "Recipe management application for GNOME";
|
||||||
homepage = "https://wiki.gnome.org/Apps/Recipes";
|
homepage = "https://wiki.gnome.org/Apps/Recipes";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue