summary refs log tree commit diff
path: root/pkgs/development/libraries/ffmpegthumbnailer
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-12 15:00:42 -0500
committerRobert Helgesson <robert@rycee.net>2017-03-14 09:41:24 +0100
commitd46fe334ca9c556ebc481c443330f7603658034b (patch)
treef304992b75136933b7606b549f47081ee02844c9 /pkgs/development/libraries/ffmpegthumbnailer
parent8b5eb4e9346039de4baa187a14c139776a6e0ae8 (diff)
downloadnixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar.gz
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar.bz2
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar.lz
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar.xz
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.tar.zst
nixpkgs-d46fe334ca9c556ebc481c443330f7603658034b.zip
ffmpegthumbnailer: 2.0.10 -> 2.2.0
Diffstat (limited to 'pkgs/development/libraries/ffmpegthumbnailer')
-rw-r--r--pkgs/development/libraries/ffmpegthumbnailer/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/libraries/ffmpegthumbnailer/default.nix b/pkgs/development/libraries/ffmpegthumbnailer/default.nix
index df1c532f633..c6167252866 100644
--- a/pkgs/development/libraries/ffmpegthumbnailer/default.nix
+++ b/pkgs/development/libraries/ffmpegthumbnailer/default.nix
@@ -1,16 +1,19 @@
-{ pkgs, fetchurl, stdenv, ffmpeg, cmake, libpng, pkgconfig
+{ pkgs, fetchFromGitHub, stdenv, ffmpeg, cmake, libpng, pkgconfig
 }:
 
 stdenv.mkDerivation rec {
   name = "ffmpegthumbnailer-${version}";
-  version = "2.0.10";
+  version = "2.2.0";
 
-  src = fetchurl {
-    url = "https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/${version}/${name}.tar.bz2";
-    sha256 = "0q7ws7ysw2rwr6ja8rhdjcc7x1hrlga7n514wi4lhw1yma32q0m3";
+  src = fetchFromGitHub {
+    owner = "dirkvdb";
+    repo = "ffmpegthumbnailer";
+    rev = version;
+    sha256 = "0kl8aa547icy9b05njps02a8sw4yn4f8fzs228kig247sn09s4cp";
   };
 
-  buildInputs = [ ffmpeg cmake libpng pkgconfig ];
+  nativeBuildInputs = [ cmake pkgconfig ];
+  buildInputs = [ ffmpeg libpng ];
 
   meta = with stdenv.lib;  {
     homepage = https://github.com/dirkvdb/ffmpegthumbnailer;