Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1022 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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;
};
})