Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.5 KiB
Nix
57 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
flutter327,
|
|
makeDesktopItem,
|
|
copyDesktopItems,
|
|
}:
|
|
|
|
flutter327.buildFlutterApplication rec {
|
|
pname = "evolve-core";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arcnations-united";
|
|
repo = "evolve-core";
|
|
tag = "v${version}";
|
|
hash = "sha256-U5qMJ3aquD2EzWXwTKw0GJPdaCmK68v8DLdJMAwKrzs=";
|
|
};
|
|
|
|
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
|
|
|
desktopItems = [
|
|
(makeDesktopItem {
|
|
name = "Evolve Core";
|
|
exec = "evolvecore";
|
|
icon = "evolvecore";
|
|
desktopName = "evolvecore";
|
|
genericName = "A modern GTK theme manager";
|
|
categories = [ "Utility" ];
|
|
comment = "A modern GTK Theme Manager for GNOME with GTK 4.0 support and some cool features";
|
|
terminal = false;
|
|
type = "Application";
|
|
startupWMClass = "evolvecore";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
copyDesktopItems
|
|
];
|
|
|
|
postInstall = ''
|
|
install -D assets/iconfile.png -t $out/share/icons
|
|
mv $out/share/icons/iconfile.png $out/share/icons/evolvecore.png
|
|
'';
|
|
|
|
meta = {
|
|
description = "Modern GTK Theme Manager for GNOME with GTK 4.0 support and some cool features";
|
|
homepage = "https://github.com/arcnations-united/evolve-core";
|
|
changelog = "https://github.com/arcnations-united/evolve-core/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ genga898 ];
|
|
mainProgram = "evolvecore";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
|
|
}
|