aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix b/nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix
new file mode 100644
index 00000000000..89f4fda88a1
--- /dev/null
+++ b/nixpkgs/pkgs/applications/networking/browsers/asuka/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, rustPlatform, fetchurl, pkgconfig, ncurses, openssl, Security }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "asuka";
+ version = "0.8.1";
+
+ src = fetchurl {
+ url = "https://git.sr.ht/~julienxx/${pname}/archive/${version}.tar.gz";
+ sha256 = "07i80qmdpwfdgwrk1gzs10wln91v23qjrsk0x134xf5mjnakxc06";
+ };
+
+ cargoSha256 = "0p0x4ch04kydg76bfal5zqzr9hvn5268wf3k2v9h7g8r4y8xqlhw";
+
+ nativeBuildInputs = [ pkgconfig ];
+
+ buildInputs = [ ncurses openssl ]
+ ++ stdenv.lib.optional stdenv.isDarwin Security;
+
+ meta = with stdenv.lib; {
+ 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 ];
+ };
+}