5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, fetchpatch
|
|
, wrapGAppsHook4
|
|
, cargo
|
|
, desktop-file-utils
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, rustc
|
|
, gdk-pixbuf
|
|
, glib
|
|
, gtk4
|
|
, gtksourceview5
|
|
, libadwaita
|
|
, darwin
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "icon-library";
|
|
version = "0.0.19";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.gnome.org/World/design/icon-library/uploads/7725604ce39be278abe7c47288085919/icon-library-${version}.tar.xz";
|
|
hash = "sha256-nWGTYoSa0/fxnD0Mb2132LkeB1oa/gj/oIXBbI+FDw8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cargo
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustc
|
|
wrapGAppsHook4
|
|
];
|
|
buildInputs = [
|
|
gdk-pixbuf
|
|
glib
|
|
gtk4
|
|
gtksourceview5
|
|
libadwaita
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
darwin.apple_sdk.frameworks.Foundation
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/World/design/icon-library";
|
|
description = "Symbolic icons for your apps";
|
|
mainProgram = "icon-library";
|
|
maintainers = with maintainers; [ qyliss ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|