mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 10:34:16 +00:00
33 lines
721 B
Nix
33 lines
721 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kamp";
|
|
version = "0.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vbauerster";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-JZe8z6OYJ+I0+dcq+sCoQPzlz6eB4z98jWj8MDXdODY=";
|
|
};
|
|
|
|
cargoHash = "sha256-+NiDSg7FJrtcNm/V0kn2kNQMJqOamE7Yl0sK/FSUYgA=";
|
|
|
|
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;
|
|
};
|
|
}
|