Files
nixpkgs/pkgs/by-name/ki/kickoff/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

52 lines
1022 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
fontconfig,
pkg-config,
wayland,
libxkbcommon,
makeWrapper,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kickoff";
version = "0.7.5";
src = fetchFromGitHub {
owner = "j0ru";
repo = "kickoff";
rev = "v${finalAttrs.version}";
hash = "sha256-V4MkVjg5Q8eAJ80V/4SvEIwjVy35/HVewaR1caYLguw=";
};
cargoHash = "sha256-bkum6NOQL0LVsLvOmKljFHE86ZU3lLDR8+I3wL0Efmk=";
libPath = lib.makeLibraryPath [
wayland
libxkbcommon
];
buildInputs = [
fontconfig
libxkbcommon
];
nativeBuildInputs = [
makeWrapper
pkg-config
];
postInstall = ''
wrapProgram "$out/bin/kickoff" --prefix LD_LIBRARY_PATH : "${finalAttrs.libPath}"
'';
meta = with lib; {
description = "Minimalistic program launcher";
mainProgram = "kickoff";
homepage = "https://github.com/j0ru/kickoff";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ pyxels ];
platforms = platforms.linux;
};
})