Unverified Commit ebf27ade authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

evolve-core: init at 1.6 (#364591)

parents 5f6d3375 cca626d8
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
{
  lib,
  fetchurl,
  fetchFromGitHub,
  flutter327,
  makeDesktopItem,
  copyDesktopItems,
}:

flutter327.buildFlutterApplication rec {
  pname = "evolve-core";
  version = "1.6";

  src = fetchFromGitHub {
    owner = "arcnations-united";
    repo = "evolve-core";
    tag = "v${version}";
    hash = "sha256-W8KpGQ81wjv/tAl09ax/a4Any5PNhhl1DIABhWgAwdc=";
  };

  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;
  };

}
+792 −0

File added.

Preview size limit exceeded, changes collapsed.