nixpkgs/pkgs/applications/graphics/icon-library/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
999 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchpatch, wrapGAppsHook4
2022-03-06 19:02:22 +00:00
, cargo, desktop-file-utils, meson, ninja, pkg-config, rustc
, 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 = [
cargo desktop-file-utils meson ninja pkg-config rustc wrapGAppsHook4
2021-11-20 12:20:01 +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;
};
}