about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-09-08 17:17:53 +0200
committerJan Tojnar <jtojnar@gmail.com>2018-11-30 21:34:46 +0100
commita3d6b0a4b1934b82e799b13e47cc3950930b6f97 (patch)
treec9be0cefae0eb9ab8d43abb4b665a9422ee13750 /pkgs/applications/video
parente09e735a09f47d087a47982e050a58d041f89ba5 (diff)
downloadnixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar.gz
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar.bz2
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar.lz
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar.xz
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.tar.zst
nixlib-a3d6b0a4b1934b82e799b13e47cc3950930b6f97.zip
pitivi: 0.99.0 → 0.999.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/pitivi/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix
index 57ee1cf12750..7ce1aa677084 100644
--- a/pkgs/applications/video/pitivi/default.nix
+++ b/pkgs/applications/video/pitivi/default.nix
@@ -1,25 +1,26 @@
-{ stdenv, fetchurl, pkgconfig, intltool, itstool, python3, wrapGAppsHook
-, python3Packages, gst, gtk3
+{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, intltool, itstool, python3, wrapGAppsHook
+, python3Packages, gst_all_1, gtk3
 , gobjectIntrospection, librsvg, gnome3, libnotify
 , meson, ninja
 }:
 
 let
-  version = "0.99";
+  version = "0.999";
 
   # gst-transcoder will eventually be merged with gstreamer (according to
   # gst-transcoder 1.8.0 release notes). For now the only user is pitivi so we
   # don't bother exposing the package to all of nixpkgs.
   gst-transcoder = stdenv.mkDerivation rec {
-    version = "1.12.2";
+    version = "1.14.1";
     name = "gst-transcoder-${version}";
-    src = fetchurl {
-      name = "${name}.tar.gz";
-      url = "https://github.com/pitivi/gst-transcoder/archive/${version}.tar.gz";
-      sha256 = "0cnwmrsd321s02ff91m3j27ydj7f8wks0jvmp5admlhka6z7zxm9";
+    src = fetchFromGitHub {
+      owner = "pitivi";
+      repo = "gst-transcoder";
+      rev = version;
+      sha256 = "16skiz9akavssii529v9nr8zd54w43livc14khdyzv164djg9q8f";
     };
-    nativeBuildInputs = [ pkgconfig meson ninja gobjectIntrospection ];
-    buildInputs = with gst; [ gstreamer gst-plugins-base ];
+    nativeBuildInputs = [ pkgconfig meson ninja gobjectIntrospection python3 ];
+    buildInputs = with gst_all_1; [ gstreamer gst-plugins-base ];
   };
 
 in python3Packages.buildPythonApplication rec {
@@ -27,7 +28,7 @@ in python3Packages.buildPythonApplication rec {
 
   src = fetchurl {
     url = "mirror://gnome/sources/pitivi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
-    sha256 = "0z4gvcr0cvyz2by47f36nqf7x2kfv9wn382w9glhs7l0d7b2zl69";
+    sha256 = "0mxp2p4gg976fp1vj3rb5rmpl5mqfzncm9vw2719irl32f1qlvyb";
   };
 
   format = "other";
@@ -50,7 +51,7 @@ in python3Packages.buildPythonApplication rec {
     gnome3.defaultIconTheme
     gnome3.gsettings-desktop-schemas libnotify
     gst-transcoder
-  ] ++ (with gst; [
+  ] ++ (with gst_all_1; [
     gstreamer gst-editing-services
     gst-plugins-base (gst-plugins-good.override { gtkSupport = true; })
     gst-plugins-bad gst-plugins-ugly gst-libav gst-validate