summary refs log tree commit diff
path: root/pkgs/applications/audio/transcribe
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-12 13:45:59 +0000
committerBobby Rong <rjl931189261@126.com>2021-12-19 13:24:40 +0800
commit0a57633edb730b4c8ec72decd66c8082fc7cb912 (patch)
tree58131f6efffd6d5efb243322429d0e58419e60df /pkgs/applications/audio/transcribe
parent552d420f3ab6f036aca83ef657edfeac43dfe092 (diff)
downloadnixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar.gz
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar.bz2
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar.lz
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar.xz
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.tar.zst
nixpkgs-0a57633edb730b4c8ec72decd66c8082fc7cb912.zip
transcribe: 9.00 -> 9.10
Diffstat (limited to 'pkgs/applications/audio/transcribe')
-rw-r--r--pkgs/applications/audio/transcribe/default.nix63
1 files changed, 50 insertions, 13 deletions
diff --git a/pkgs/applications/audio/transcribe/default.nix b/pkgs/applications/audio/transcribe/default.nix
index 9061c38f19c..d10a0d87941 100644
--- a/pkgs/applications/audio/transcribe/default.nix
+++ b/pkgs/applications/audio/transcribe/default.nix
@@ -1,27 +1,64 @@
-{ stdenv, fetchzip, lib, wrapGAppsHook, alsa-lib, atk, cairo, gdk-pixbuf
-, glib, gst_all_1,  gtk3, libSM, libX11, libpng12, pango, zlib }:
+{ stdenv
+, fetchzip
+, lib
+, wrapGAppsHook
+, alsa-lib
+, atk
+, cairo
+, fontconfig
+, gdk-pixbuf
+, glib
+, gst_all_1
+, gtk3
+, libSM
+, libX11
+, libXtst
+, libpng12
+, pango
+, zlib
+}:
 
 stdenv.mkDerivation rec {
   pname = "transcribe";
-  version = "9.00";
+  version = "9.10";
 
-  src = if stdenv.hostPlatform.system == "x86_64-linux" then
-    fetchzip {
-      url = "https://www.seventhstring.com/xscribe/downlo/xscsetup-9.00.0.tar.gz";
-      sha256 = "0mgjx0hnps3jmc2d9hkskxbmwcqf7f9jx595j5sc501br1l84sdf";
-    }
-  else throw "Platform not supported";
+  src =
+    if stdenv.hostPlatform.system == "x86_64-linux" then
+      fetchzip
+        {
+          url = "https://www.seventhstring.com/xscribe/downlo/xscsetup-9.10.0.tar.gz";
+          sha256 = "sha256-6+P2qdjyvCzwrXYgw2yeG+hu8W5t6E0RCZx6Znkvj3g=";
+        }
+    else throw "Platform not supported";
 
   nativeBuildInputs = [ wrapGAppsHook ];
 
-  buildInputs = with gst_all_1; [ gst-plugins-base gst-plugins-good
-    gst-plugins-bad gst-plugins-ugly ];
+  buildInputs = with gst_all_1; [
+    gst-plugins-base
+    gst-plugins-good
+    gst-plugins-bad
+    gst-plugins-ugly
+  ];
 
   dontPatchELF = true;
 
   libPath = with gst_all_1; lib.makeLibraryPath [
-    stdenv.cc.cc glib gtk3 atk pango cairo gdk-pixbuf alsa-lib
-    libX11 libSM libpng12 gstreamer gst-plugins-base zlib
+    stdenv.cc.cc
+    glib
+    gtk3
+    atk
+    fontconfig
+    pango
+    cairo
+    gdk-pixbuf
+    alsa-lib
+    libX11
+    libXtst
+    libSM
+    libpng12
+    gstreamer
+    gst-plugins-base
+    zlib
   ];
 
   installPhase = ''