summary refs log tree commit diff
path: root/pkgs/applications/graphics/icon-library/default.nix
blob: 276ccb51274654bc46d381587dc1426bcfa802a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, stdenv, fetchurl, wrapGAppsHook
, cargo, desktop-file-utils, meson, ninja, pkg-config, python3, rustc
, dbus, gdk-pixbuf, glib, gtk3, gtksourceview4, libhandy
}:

stdenv.mkDerivation rec {
  pname = "icon-library";
  version = "0.0.8";

  src = fetchurl {
    url = "https://gitlab.gnome.org/World/design/icon-library/uploads/fdf890706e0eef2458a5285e3bf65dd5/icon-library-${version}.tar.xz";
    sha256 = "0807b56bgm8j1gpq4nf8x31gq9wqhcmpzpkqw6s4wissw3cb7q96";
  };

  nativeBuildInputs = [
    cargo desktop-file-utils meson ninja pkg-config python3 rustc wrapGAppsHook
  ];
  buildInputs = [ dbus gdk-pixbuf glib gtk3 gtksourceview4 libhandy ];

  postPatch = ''
    patchShebangs build-aux/meson_post_install.py
  '';

  meta = with lib; {
    homepage = "https://gitlab.gnome.org/World/design/icon-library";
    description = "Symbolic icons for your apps";
    maintainers = with maintainers; [ qyliss ];
    license = licenses.gpl3Plus;
    platforms = platforms.unix;
  };
}