summary refs log tree commit diff
path: root/pkgs/applications/accessibility
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2021-05-11 00:45:40 +0800
committerfortuneteller2k <lythe1107@gmail.com>2021-05-11 00:53:01 +0800
commit675c4123bb08560b708f4606a980e61a83c25eea (patch)
tree9407780c60b66a8d7c9bb15928d96bef713cddcf /pkgs/applications/accessibility
parent0cfa5cc54f43ccec1a6e62865c7f429b9a0f6374 (diff)
downloadnixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar.gz
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar.bz2
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar.lz
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar.xz
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.tar.zst
nixpkgs-675c4123bb08560b708f4606a980e61a83c25eea.zip
dasher: 2018-04-03 -> unstable-2021-04-25
Diffstat (limited to 'pkgs/applications/accessibility')
-rw-r--r--pkgs/applications/accessibility/dasher/default.nix49
1 files changed, 31 insertions, 18 deletions
diff --git a/pkgs/applications/accessibility/dasher/default.nix b/pkgs/applications/accessibility/dasher/default.nix
index fe0d8fe8634..6f2a185b309 100644
--- a/pkgs/applications/accessibility/dasher/default.nix
+++ b/pkgs/applications/accessibility/dasher/default.nix
@@ -1,22 +1,33 @@
-{ stdenv, lib, fetchFromGitHub
-, autoreconfHook, pkg-config, wrapGAppsHook
-, glib, gtk3, expat, gnome-doc-utils, which
-, at-spi2-core, dbus
-, libxslt, libxml2
-, speechSupport ? true, speechd ? null
+{ stdenv
+, lib
+, fetchFromGitLab
+, autoreconfHook
+, pkg-config
+, wrapGAppsHook
+, glib
+, gtk3
+, expat
+, itstool
+, gnome-doc-utils
+, which
+, at-spi2-core
+, dbus
+, libxslt
+, libxml2
+, speechSupport ? true
+, speechd
 }:
 
-assert speechSupport -> speechd != null;
-
 stdenv.mkDerivation {
   pname = "dasher";
-  version = "2018-04-03";
+  version = "unstable-2021-04-25";
 
-  src = fetchFromGitHub {
-    owner = "dasher-project";
+  src = fetchFromGitLab {
+    domain = "gitlab.gnome.org";
+    owner = "GNOME";
     repo = "dasher";
-    rev = "9ab12462e51d17a38c0ddc7f7ffe1cb5fe83b627";
-    sha256 = "1r9xn966nx3pv2bidd6i3pxmprvlw6insnsb38zabmac609h9d9s";
+    rev = "90c753b87564fa3f42cb2d04e1eb6662dc8e0f8f";
+    sha256 = "sha256-aM05CV68pCRlhfIPyhuHWeRL+tDroB3fVsoX08OU8hY=";
   };
 
   prePatch = ''
@@ -33,23 +44,25 @@ stdenv.mkDerivation {
     # doc generation
     gnome-doc-utils
     which
-    libxslt libxml2
+    libxslt
+    libxml2
   ];
 
   buildInputs = [
     glib
     gtk3
     expat
+    itstool
     # at-spi2 needs dbus to be recognized by pkg-config
-    at-spi2-core dbus
+    at-spi2-core
+    dbus
   ] ++ lib.optional speechSupport speechd;
 
   meta = {
-    homepage = "http://www.inference.org.uk/dasher/";
+    homepage = "https://www.inference.org.uk/dasher/";
     description = "Information-efficient text-entry interface, driven by natural continuous pointing gestures";
-    license = lib.licenses.gpl2;
+    license = lib.licenses.gpl2Only;
     maintainers = [ lib.maintainers.Profpatsch ];
     platforms = lib.platforms.all;
   };
-
 }