Merge pull request #226523 from figsoda/emblem
This commit is contained in:
commit
1a14b2cec5
964
pkgs/applications/graphics/emblem/Cargo.lock
generated
964
pkgs/applications/graphics/emblem/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -2,42 +2,43 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
|
||||||
, meson
|
|
||||||
, ninja
|
|
||||||
, glib
|
|
||||||
, gobject-introspection
|
|
||||||
, libadwaita
|
|
||||||
, libxml2
|
|
||||||
, librsvg
|
|
||||||
, wrapGAppsHook4
|
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
|
, glib
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, wrapGAppsHook4
|
||||||
|
, gtk4
|
||||||
|
, libadwaita
|
||||||
|
, libxml2
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "emblem";
|
pname = "emblem";
|
||||||
version = "1.1.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World/design";
|
group = "World";
|
||||||
repo = pname;
|
owner = "design";
|
||||||
|
repo = "emblem";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-kNPV1SHkNTBXbMzDJGuDbaGz1WkBqMpVgZKjsh7ejmo=";
|
sha256 = "sha256-sgo6rGwmybouTTBTPFrPJv8Wo9I6dcoT7sUVQGFUqkQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
"librsvg-2.55.90" = "sha256-IegUvM1HcsRiYS6woaP1aeWKtgBxim9FkdZY9BSscPY=";
|
"librsvg-2.56.0" = "sha256-PIrec3nfeMo94bkYUrp6B7lie9O1RtiBdPMFUKKLtTQ=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream-glib
|
appstream-glib
|
||||||
|
desktop-file-utils
|
||||||
glib
|
glib
|
||||||
gobject-introspection
|
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -49,17 +50,18 @@ stdenv.mkDerivation rec {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
desktop-file-utils
|
gtk4
|
||||||
libadwaita
|
libadwaita
|
||||||
librsvg
|
|
||||||
libxml2
|
libxml2
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Foundation
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generate project icons and avatars from a symbolic icon";
|
description = "Generate project icons and avatars from a symbolic icon";
|
||||||
homepage = "https://gitlab.gnome.org/World/design/emblem";
|
homepage = "https://gitlab.gnome.org/World/design/emblem";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ foo-dogsquared ];
|
maintainers = with maintainers; [ figsoda foo-dogsquared ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user