Files
nixpkgs/pkgs/by-name/ig/ignition/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
appstream,
blueprint-compiler,
desktop-file-utils,
gettext,
meson,
ninja,
pkg-config,
typescript,
wrapGAppsHook4,
gjs,
gtk4,
libadwaita,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ignition";
version = "2.1.2";
src = fetchFromGitHub {
owner = "flattool";
repo = "ignition";
tag = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-BqlzxrsbukfkwRIUTN5eaJPRC/dWSWUieDKIqnePZl4=";
};
patches = [
# Don't use find_program for detecting gjs. (we don't want to use the build-platform's gjs binary)
# We instead rely on the fact that fixupPhase uses patchShebangs on the script.
# Also, we manually set the effective entrypoint to make gjs properly find our binary.
./fix-gjs.patch
];
strictDeps = true;
nativeBuildInputs = [
appstream
blueprint-compiler
desktop-file-utils
gettext
gtk4
meson
ninja
pkg-config
typescript
wrapGAppsHook4
];
buildInputs = [
gjs
gtk4
libadwaita
];
meta = {
description = "Manage startup apps and scripts";
homepage = "https://github.com/flattool/ignition";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ tomasajt ];
mainProgram = "io.github.flattool.Ignition";
platforms = lib.platforms.linux;
};
})