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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
788 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromSourcehut, pkg-config, ncurses, openssl, Security }:
2020-06-24 23:59:23 +00:00
rustPlatform.buildRustPackage rec {
pname = "asuka";
2022-05-25 04:10:13 +00:00
version = "0.8.5";
2020-06-24 23:59:23 +00:00
src = fetchFromSourcehut {
owner = "~julienxx";
repo = pname;
rev = version;
2022-05-25 04:10:13 +00:00
sha256 = "sha256-+rj6P3ejc4Qb/uqbf3N9MqyqDT7yg9JFE0yfW/uzd6M=";
2020-06-24 23:59:23 +00:00
};
2022-05-25 04:10:13 +00:00
cargoSha256 = "sha256-XrFpvH3qiMvpgbH7Q+KC1zFAqJT4rjxux6Q5KLY2ufI=";
2020-06-24 23:59:23 +00:00
nativeBuildInputs = [ pkg-config ];
2020-06-24 23:59:23 +00:00
buildInputs = [ ncurses openssl ]
2021-01-15 13:21:58 +00:00
++ lib.optional stdenv.isDarwin Security;
2020-06-24 23:59:23 +00:00
meta = with lib; {
2020-06-24 23:59:23 +00: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 ];
};
}