about summary refs log tree commit diff
path: root/pkgs/amfora/default.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-10 11:11:38 +0200
committerGitHub <noreply@github.com>2020-08-10 11:11:38 +0200
commit4183b89247c55261da46a5230b63e981d662a9b1 (patch)
treeaa952cae8326cd25ce324cfc222b73ca06a37fcc /pkgs/amfora/default.nix
parent45d8e75df1984adaee908b54457903c50d8ec412 (diff)
downloadpnpkgs-4183b89247c55261da46a5230b63e981d662a9b1.tar.gz
pnpkgs-4183b89247c55261da46a5230b63e981d662a9b1.zip
Add amfora
Diffstat (limited to 'pkgs/amfora/default.nix')
-rw-r--r--pkgs/amfora/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/amfora/default.nix b/pkgs/amfora/default.nix
new file mode 100644
index 0000000..8abecdc
--- /dev/null
+++ b/pkgs/amfora/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "amfora";
+  version = "1.4.0";
+
+  src = fetchFromGitHub {
+    owner = "makeworld-the-better-one";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1z4r1yqy5nkfa7yqcsqpqfdcghw8idryzb3s6d6ibca47r0qlcvw";
+  };
+
+  # doCheck = false;
+
+  buildFlags = [ ];
+
+  subPackages = [ "." ];
+
+  meta = with stdenv.lib; {
+    description = "A fancy terminal browser for the Gemini protocol.";
+    homepage = "https://github.com/makeworld-the-better-one/amfora";
+    license = licenses.gpl30;
+    maintainers = with maintainers; [ pniedzwiedzinski ];
+  };
+}