Skip to content
Permalink
Browse files

wip

  • Loading branch information
peterhoeg committed Apr 9, 2018
1 parent ea145b6 commit 2ab9c9348b7eb351d252dcb1b75a2acf67a06e85
Showing with 11 additions and 9 deletions.
  1. +11 −9 pkgs/applications/video/handbrake/default.nix
@@ -23,14 +23,14 @@
}:

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

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

nativeBuildInputs = [
@@ -52,17 +52,19 @@ stdenv.mkDerivation rec {

dontUseCmakeConfigure = true;

enableParallelBuilding = true;
# enableParallelBuilding = true;

preConfigure = ''
postPatch = ''
patchShebangs scripts
echo 'TAG=${version}' > version.txt
cat > version.txt <<_EOF
DATE=1970-01-01 00:00:01 +0000
TAG=${version}
TYPE=release
URL=${src.meta.homepage}
_EOF
# `configure` errors out when trying to read the current year which is too low
substituteInPlace make/configure.py \
--replace developer release \
--replace 'repo.date.strftime("%Y-%m-%d %H:%M:%S")' '""'
cat version.txt
substituteInPlace libhb/module.defs \
--replace /usr/include/libxml2 ${libxml2.dev}/include/libxml2

0 comments on commit 2ab9c93

Please sign in to comment.
You can’t perform that action at this time.