nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix

29 lines
790 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromSourcehut, pkg-config, ncurses, openssl, Security }:
2020-06-25 01:59:23 +02:00
rustPlatform.buildRustPackage rec {
pname = "asuka";
2020-07-19 23:19:32 +02:00
version = "0.8.1";
2020-06-25 01:59:23 +02:00
src = fetchFromSourcehut {
owner = "~julienxx";
repo = pname;
rev = version;
sha256 = "1y8v4qc5dng3v9k0bky1xlf3qi9pk2vdsi29lff4ha5310467f0k";
2020-06-25 01:59:23 +02:00
};
cargoSha256 = "0b8wf12bjsy334g04sv3knw8f177xsmh7lrkyvx9gnn0fax0lmnr";
2020-06-25 01:59:23 +02:00
nativeBuildInputs = [ pkg-config ];
2020-06-25 01:59:23 +02:00
buildInputs = [ ncurses openssl ]
2021-01-15 14:21:58 +01:00
++ lib.optional stdenv.isDarwin Security;
2020-06-25 01:59:23 +02:00
meta = with lib; {
2020-06-25 01:59:23 +02:00
description = "Gemini Project client written in Rust with NCurses";
homepage = "https://git.sr.ht/~julienxx/asuka";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}