Files
nixpkgs/pkgs/by-name/rl/rlaunch/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

44 lines
947 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
xorg,
}:
rustPlatform.buildRustPackage rec {
pname = "rlaunch";
version = "1.3.14";
src = fetchFromGitHub {
owner = "PonasKovas";
repo = "rlaunch";
rev = version;
hash = "sha256-PyCR/ob947W+6T56y1se74aNy1avJDb2ELyv2aGf1og=";
};
cargoHash = "sha256-5mj20MN0FUNa2xawocNhh2C1jX0yN2QNnKYvJi88b0M=";
# The x11_dl crate dlopen()s these libraries, so we have to inject them into rpath.
postFixup = ''
patchelf --set-rpath ${
lib.makeLibraryPath (
with xorg;
[
libX11
libXft
libXinerama
]
)
} $out/bin/rlaunch
'';
meta = with lib; {
description = "Lightweight application launcher for X11";
homepage = "https://github.com/PonasKovas/rlaunch";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ danc86 ];
mainProgram = "rlaunch";
};
}