Files
nix-dotfiles/pkgs/claurst/default.nix

53 lines
985 B
Nix
Raw Normal View History

2026-05-01 01:07:42 -04:00
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
alsa-lib,
dbus,
libxkbcommon,
libxcb,
}:
2026-05-01 01:31:44 -04:00
let
maintainers = import ../maintainers.nix;
in
2026-05-01 01:07:42 -04:00
rustPlatform.buildRustPackage rec {
pname = "claurst";
version = "0.0.9";
src = fetchFromGitHub {
owner = "Kuberwastaken";
repo = "claurst";
rev = "v${version}";
hash = "sha256-bTQHtZGZxhEAki0JxSC8smAC3w+otm8ubHvZ9MvwDaE=";
};
cargoRoot = "src-rust";
cargoHash = "sha256-6+B43spqmUZ983YMl5UBH5647DcUOS2ngw5ChMIPFFo=";
buildAndTestSubdir = "src-rust";
doCheck = false;
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
alsa-lib
dbus
libxkbcommon
libxcb
];
meta = with lib; {
description = "Terminal coding agent written in Rust";
homepage = "https://github.com/Kuberwastaken/claurst";
license = licenses.gpl3Only;
mainProgram = "claurst";
2026-05-01 01:31:44 -04:00
maintainers = [ maintainers.alice ];
2026-05-01 01:07:42 -04:00
platforms = platforms.linux;
};
}