From 0a57633edb730b4c8ec72decd66c8082fc7cb912 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 12 Dec 2021 13:45:59 +0000 Subject: transcribe: 9.00 -> 9.10 --- pkgs/applications/audio/transcribe/default.nix | 63 ++++++++++++++++++++------ 1 file changed, 50 insertions(+), 13 deletions(-) (limited to 'pkgs/applications/audio/transcribe') 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 = '' -- cgit 1.4.1