about summary refs log tree commit diff
path: root/pkgs/applications/graphics/icon-library
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-11-20 12:20:01 +0000
committerAlyssa Ross <hi@alyssa.is>2021-12-16 16:09:16 +0000
commit8d63b3ddb39dd2135a3bd3651a766a8cdcafa0d2 (patch)
tree4ea67502c9cc92b17e88ec8cfa4e9cb5b6d54965 /pkgs/applications/graphics/icon-library
parent1111c471ff54d6ca83dd2aacd16eb1858d10869c (diff)
icon-library: init at 0.0.8
Diffstat (limited to 'pkgs/applications/graphics/icon-library')
-rw-r--r--pkgs/applications/graphics/icon-library/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/icon-library/default.nix b/pkgs/applications/graphics/icon-library/default.nix
new file mode 100644
index 0000000000000..276ccb5127465
--- /dev/null
+++ b/pkgs/applications/graphics/icon-library/default.nix
@@ -0,0 +1,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;
+  };
+}