mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
39 lines
805 B
Nix
39 lines
805 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromSourcehut,
|
|
pkg-config,
|
|
ncurses,
|
|
openssl,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "asuka";
|
|
version = "0.8.5";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~julienxx";
|
|
repo = "asuka";
|
|
rev = version;
|
|
sha256 = "sha256-+rj6P3ejc4Qb/uqbf3N9MqyqDT7yg9JFE0yfW/uzd6M=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-aNHkhcvOdK6sf6nWxCNPxcktYhrnmLdMrLqWb/1QBQ4=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
openssl
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Gemini Project client written in Rust with NCurses";
|
|
mainProgram = "asuka";
|
|
homepage = "https://git.sr.ht/~julienxx/asuka";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|