git.iko.soy/typeable/nixpkgs
on master help sign in
gcolor3: 2.3.1 → 2.4.0

https://gitlab.gnome.org/World/gcolor3/-/blob/v2.4.0/data/nl.hjdskes.gcolor3.appdata.xml.in#L48-61

commitddd234cc6fe671846992c1619466927d805c2fd2 authorJan Tojnar <jtojnar@gmail.com> dateSun 30 Aug 2020, 08:10 (6 years ago) parent9d937af
1 file changed+26−17
pkgs/applications/graphics/gcolor3/default.nix+26−17
pkgs/applications/graphics/gcolor3/default.nix+26−17
@@ -1,31 +1,40 @@
1−{ stdenv, fetchFromGitLab, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook
2−, fetchpatch }:
1+{ stdenv
2+, fetchFromGitLab
3+, meson
4+, ninja
5+, gettext
6+, pkg-config
7+, libxml2
8+, gtk3
9+, libportal
10+, wrapGAppsHook
11+}:
312
4−let
5− version = "2.3.1";
6−in stdenv.mkDerivation {
13+stdenv.mkDerivation rec {
714 pname = "gcolor3";
8− inherit version;
15+ version = "2.4.0";
916
1017 src = fetchFromGitLab {
1118 domain = "gitlab.gnome.org";
1219 owner = "World";
1320 repo = "gcolor3";
1421 rev = "v${version}";
15− sha256 = "10cfzlkflwkb7f51rnrxmgxpfryh1qzvqaydj6lffjq9zvnhigg7";
22+ sha256 = "rHIAjk2m3Lkz11obgNZaapa1Zr2GDH7XzgzuAJmq+MU=";
1623 };
1724
18− patches = [
19− # Remove useage of deprecrated G_PARAM_PRIVATE
20− (fetchpatch {
21− url = "https://gitlab.gnome.org/World/gcolor3/commit/96612cdd6c2cc71e28eb97ee17956004a05e5140.patch";
22− sha256 = "134wv5x15bd7k0fjzifrddwssaq213sx2l38r3xw6x1j625qwzq9";
23− })
25+ nativeBuildInputs = [
26+ meson
27+ ninja
28+ gettext
29+ pkg-config
30+ libxml2 # xml-stripblanks preprocessing of GResource
31+ wrapGAppsHook
2432 ];
2533
26− nativeBuildInputs = [ meson ninja gettext pkgconfig libxml2 wrapGAppsHook ];
27−
28− buildInputs = [ gtk3 hicolor-icon-theme ];
34+ buildInputs = [
35+ gtk3
36+ libportal
37+ ];
2938
3039 postPatch = ''
3140 chmod +x meson_install.sh # patchShebangs requires executable file
@@ -34,7 +43,7 @@ in stdenv.mkDerivation {
3443
3544 meta = with stdenv.lib; {
3645 description = "A simple color chooser written in GTK3";
37− homepage = "https://www.hjdskes.nl/projects/gcolor3/";
46+ homepage = "https://gitlab.gnome.org/World/gcolor3";
3847 license = licenses.gpl2Plus;
3948 maintainers = with maintainers; [ jtojnar ];
4049 platforms = platforms.unix;