Skip to content

Commit

Permalink
handbrake: 1.0.3 -> 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Apr 16, 2017
1 parent 901a0bb commit 8356c6c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/applications/video/handbrake/default.nix
Expand Up @@ -23,14 +23,14 @@
}:

stdenv.mkDerivation rec {
version = "1.0.3";
version = "1.0.7";
name = "handbrake-${version}";

src = fetchFromGitHub {
owner = "HandBrake";
repo = "HandBrake";
rev = "${version}";
sha256 = "1r8yzs0xih03p5ybx5096zkvlwxhcmg34047awmda1wq3z3rdjh5";
sha256 = "1pdrvicq40s8n23n6k8k097kkjs3ah5wbz1mvxnfy3h2mh5rwk57";
};

nativeBuildInputs = [
Expand All @@ -52,6 +52,8 @@ stdenv.mkDerivation rec {

dontUseCmakeConfigure = true;

enableParallelBuilding = true;

preConfigure = ''
patchShebangs scripts
Expand Down Expand Up @@ -85,6 +87,11 @@ stdenv.mkDerivation rec {
cd build
'';

# icon-theme.cache belongs in the icon theme, not in individual packages
postInstall = ''
rm $out/share/icons/hicolor/icon-theme.cache
'';

meta = with stdenv.lib; {
homepage = http://handbrake.fr/;
description = "A tool for ripping DVDs into video files";
Expand Down

0 comments on commit 8356c6c

Please sign in to comment.