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
33 lines
722 B
Nix
33 lines
722 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kamp";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vbauerster";
|
|
repo = "kamp";
|
|
rev = "v${version}";
|
|
hash = "sha256-coBKVqSqYBpf0PdWKIODnbfQxbOyp5Di45+O66ZGK1Q=";
|
|
};
|
|
|
|
cargoHash = "sha256-+Jc3+3sN+muUk7yGZ0sDWR0xAwffZN14X0mcyF4EY20=";
|
|
|
|
postInstall = ''
|
|
install scripts/* -Dt $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "Tool to control Kakoune editor from the command line";
|
|
homepage = "https://github.com/vbauerster/kamp";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ erikeah ];
|
|
mainProgram = "kamp";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|