2022-03-30 11:18:32 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, wrapGAppsHook4
|
2022-03-06 19:02:22 +00:00
|
|
|
, cargo, desktop-file-utils, meson, ninja, pkg-config, rustc
|
2023-03-19 05:42:33 +00:00
|
|
|
, gdk-pixbuf, glib, gtk4, gtksourceview5, libadwaita, darwin
|
2021-11-20 12:20:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "icon-library";
|
2023-05-16 07:09:06 +00:00
|
|
|
version = "0.0.16";
|
2021-11-20 12:20:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-05-16 07:09:06 +00:00
|
|
|
url = "https://gitlab.gnome.org/World/design/icon-library/uploads/5dd3d97acfdbaf69c7dc6b2f7bbf4cae/icon-library-${version}.tar.xz";
|
|
|
|
hash = "sha256-EO67foD/uRoeF+zmJyEia5Nr3eW+Se9bVjDxipMw75E=";
|
2021-11-20 12:20:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-03-30 11:18:32 +00:00
|
|
|
cargo desktop-file-utils meson ninja pkg-config rustc wrapGAppsHook4
|
2021-11-20 12:20:01 +00:00
|
|
|
];
|
2023-03-19 05:42:33 +00:00
|
|
|
buildInputs = [
|
|
|
|
gdk-pixbuf glib gtk4 gtksourceview5 libadwaita
|
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
darwin.apple_sdk.frameworks.Foundation
|
|
|
|
];
|
2021-11-20 12:20:01 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|