53 lines
985 B
Nix
53 lines
985 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
pkg-config,
|
|
openssl,
|
|
alsa-lib,
|
|
dbus,
|
|
libxkbcommon,
|
|
libxcb,
|
|
}:
|
|
|
|
let
|
|
maintainers = import ../maintainers.nix;
|
|
in
|
|
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";
|
|
maintainers = [ maintainers.alice ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|