about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-06-13 13:54:07 +0530
committerehmry <ehmry@posteo.net>2020-06-16 13:46:45 +0530
commitf2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c (patch)
treec72af9320ebe4975a976ef88ad5fe6e83cbabd8d /pkgs/applications/networking
parent58ec4d5c77f0a97018cd801d87d5d29202d7bd0e (diff)
downloadnixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar.gz
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar.bz2
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar.lz
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar.xz
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.tar.zst
nixlib-f2592c0b946d09b6ab627bd9815ebfcc4e8d0f9c.zip
kristall: init at 0.2
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/kristall/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/kristall/default.nix b/pkgs/applications/networking/browsers/kristall/default.nix
new file mode 100644
index 000000000000..34f23f452388
--- /dev/null
+++ b/pkgs/applications/networking/browsers/kristall/default.nix
@@ -0,0 +1,30 @@
+{ lib, mkDerivation, fetchFromGitHub, qtbase, qtmultimedia }:
+
+mkDerivation rec {
+  pname = "kristall";
+  version = "0.2";
+  src = fetchFromGitHub {
+    owner = "MasterQ32";
+    repo = "kristall";
+    rev = "V" + version;
+    sha256 = "08k3rg0sa91ra0nzla5rw806nnncnyvq1s7k09k5i74fvcsnpqyp";
+  };
+
+  buildInputs = [ qtbase qtmultimedia ];
+
+  qmakeFlags = [ "src/kristall.pro" ];
+
+  installPhase = ''
+    install -Dt $out/bin kristall
+    install -D Kristall.desktop $out/share/applications/net.random-projects.kristall.desktop
+  '';
+
+  meta = with lib;
+    src.meta // {
+      description =
+        "Graphical small-internet client, supports gemini, http, https, gopher, finger";
+      homepage = "https://random-projects.net/projects/kristall.gemini";
+      maintainers = with maintainers; [ ehmry ];
+      inherit (qtmultimedia.meta) platforms;
+    };
+}