3
0
Fork 0
forked from mirrors/nixpkgs

tvheadend: 4.2.1 -> 4.2.4

This commit is contained in:
Peter Hoeg 2017-11-17 18:04:52 +08:00
parent fa2bf1bf20
commit 9e44d34be2

View file

@ -3,7 +3,7 @@
, which, zlib }: , which, zlib }:
let let
version = "4.2.1"; version = "4.2.4";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "tvheadend-${version}"; name = "tvheadend-${version}";
@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
owner = "tvheadend"; owner = "tvheadend";
repo = "tvheadend"; repo = "tvheadend";
rev = "v${version}"; rev = "v${version}";
sha256 = "1lhk8psvifmn4kjwyfxjj21z0apyr59zizzsfd4j22v7bk66rrl9"; sha256 = "1kydjmgv0nrllgi2s6aczq4x9ag01c8qm8w962qb52fzdfw7fs6k";
}; };
buildInputs = [ buildInputs = [
@ -39,7 +39,8 @@ in stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
patchShebangs ./configure patchShebangs ./configure
substituteInPlace src/config.c --replace /usr/bin/tar ${gnutar}/bin/tar substituteInPlace src/config.c \
--replace /usr/bin/tar ${gnutar}/bin/tar
# the version detection script `support/version` reads this file if it # the version detection script `support/version` reads this file if it
# exists, so let's just use that # exists, so let's just use that