19 stdenv.mkDerivation rec {
23 src = fetchFromGitLab {
24 domain = "gitlab.gnome.org";
29 sha256 = "sha256-pW+2kQANZ9M1f0jMoBqCxMjLCu0xAnuEE2EdzDq4ZCE=";
32 cargoDeps = rustPlatform.fetchCargoTarball {
34 name = "${pname}-${version}";
35 hash = "sha256-2mxDXDGQA2YB+gnGwy6VSZP/RRBKg0RiR1GlXIkio9E=";
45 rustPlatform.cargoSetupHook
55 ++ lib.optionals stdenv.hostPlatform.isDarwin [
56 darwin.apple_sdk.frameworks.Foundation
59 env.NIX_CFLAGS_COMPILE = toString (
60 lib.optionals stdenv.hostPlatform.isDarwin [
61 "-Wno-error=incompatible-function-pointer-types"
66 description = "Generate project icons and avatars from a symbolic icon";
67 mainProgram = "emblem";
68 homepage = "https://gitlab.gnome.org/World/design/emblem";
69 license = lib.licenses.gpl3Plus;
70 platforms = lib.platforms.unix;
77 ++ lib.teams.gnome-circle.members;