Commit 18eca121 authored by Gabriel Arazas's avatar Gabriel Arazas
Browse files

emblem: init at 1.1.0

parent 70d8e51d
Loading
Loading
Loading
Loading
+64 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitLab
, rustPlatform
, pkg-config
, meson
, ninja
, glib
, gobject-introspection
, libadwaita
, libxml2
, librsvg
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
}:

stdenv.mkDerivation rec {
  pname = "emblem";
  version = "1.1.0";

  src = fetchFromGitLab {
    domain = "gitlab.gnome.org";
    owner = "World/design";
    repo = pname;
    rev = version;
    sha256 = "sha256-kNPV1SHkNTBXbMzDJGuDbaGz1WkBqMpVgZKjsh7ejmo=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}";
    hash = "sha256-yhXxlUOe+mWVpAEB0yN9m5S5yfNRrHnx7XHLXbbf1hc=";
  };

  nativeBuildInputs = [
    appstream-glib
    glib
    gobject-introspection
    meson
    ninja
    pkg-config
    wrapGAppsHook4
  ] ++ (with rustPlatform; [
    cargoSetupHook
    rust.cargo
    rust.rustc
  ]);

  buildInputs = [
    desktop-file-utils
    libadwaita
    librsvg
    libxml2
  ];

  meta = with lib; {
    description = "Generate project icons and avatars from a symbolic icon";
    homepage = "https://gitlab.gnome.org/World/design/emblem";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ foo-dogsquared ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6949,6 +6949,8 @@ with pkgs;
  emborg = python3Packages.callPackage ../development/python-modules/emborg { };
  emblem = callPackage ../applications/graphics/emblem { };
  emem = callPackage ../applications/misc/emem { };
  empty = callPackage ../tools/misc/empty { };