3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix

29 lines
788 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromSourcehut, pkg-config, ncurses, openssl, Security }:
2020-06-25 00:59:23 +01:00
rustPlatform.buildRustPackage rec {
pname = "asuka";
2021-08-13 07:19:07 +01:00
version = "0.8.3";
2020-06-25 00:59:23 +01:00
src = fetchFromSourcehut {
owner = "~julienxx";
repo = pname;
rev = version;
2021-08-13 07:19:07 +01:00
sha256 = "sha256-l3SgIyApASllHVhAc2yoUYc2x7QtCdzBrMYaXCp65m8=";
2020-06-25 00:59:23 +01:00
};
2021-08-13 07:19:07 +01:00
cargoSha256 = "sha256-twECZM1KcWeQptLhlKlIz16r3Q/xMb0e+lBG+EX79mU=";
2020-06-25 00:59:23 +01:00
nativeBuildInputs = [ pkg-config ];
2020-06-25 00:59:23 +01:00
buildInputs = [ ncurses openssl ]
2021-01-15 13:21:58 +00:00
++ lib.optional stdenv.isDarwin Security;
2020-06-25 00:59:23 +01:00
meta = with lib; {
2020-06-25 00:59:23 +01: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 ];
};
}