2022-06-16 17:23:12 +00:00
|
|
|
{ lib, stdenv, fetchurl, wrapGAppsHook4
|
|
|
|
, cargo, desktop-file-utils, meson, ninja, pkg-config, rustc
|
|
|
|
, glib, gtk4, libadwaita, libxml2
|
2021-12-19 01:06:50 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "symbolic-preview";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.0.9";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-15 15:35:15 +00:00
|
|
|
url = "https://gitlab.gnome.org/World/design/symbolic-preview/uploads/e2fed158fc0d267f2051302bcf14848b/symbolic-preview-${version}.tar.xz";
|
|
|
|
hash = "sha256-kx+70LCQzzWAw2Xd3fKGq941540IM3Y1+r4Em4MNWbw=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
cargo desktop-file-utils meson ninja pkg-config rustc wrapGAppsHook4
|
2021-12-19 01:06:50 +00:00
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
buildInputs = [ glib gtk4 libadwaita libxml2 ];
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.gnome.org/World/design/symbolic-preview";
|
|
|
|
description = "Symbolics made easy";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "symbolic-preview";
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ qyliss ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2022-12-17 10:02:37 +00:00
|
|
|
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin;
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
}
|