mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
tvheadend: 4.0.6 -> 4.0.7
Also patches a file that would cause a runtime error otherwise
This commit is contained in:
parent
d495ac2957
commit
c62f051e5a
@ -1,9 +1,9 @@
|
|||||||
{avahi, dbus, fetchurl, git, gzip, libav, libiconv, openssl, pkgconfig, python
|
{avahi, dbus, fetchurl, git, gnutar, gzip, libav, libiconv, openssl, pkgconfig, python
|
||||||
, stdenv, which, zlib}:
|
, stdenv, which, zlib}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let version = "4.0.6";
|
let version = "4.0.7";
|
||||||
pkgName = "tvheadend";
|
pkgName = "tvheadend";
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz";
|
url = "https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz";
|
||||||
sha256 = "05jidg7jma3mban40iy1bg3sirw6crscxkd8b70if4kjlf86i31l";
|
sha256 = "0vhj4vkgl4brjw1pdc80g1wbjn6hyy57jrxkwilnivqfd1mwx3aw";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -22,10 +22,13 @@ stdenv.mkDerivation rec {
|
|||||||
# cannot happen during build.
|
# cannot happen during build.
|
||||||
configureFlags = [ "--disable-dvbscan" ];
|
configureFlags = [ "--disable-dvbscan" ];
|
||||||
|
|
||||||
buildInputs = [ avahi dbus git gzip libav libiconv openssl pkgconfig python
|
buildInputs = [ avahi dbus git gnutar gzip libav libiconv openssl pkgconfig python
|
||||||
which zlib ];
|
which zlib ];
|
||||||
|
|
||||||
preConfigure = "patchShebangs ./configure";
|
preConfigure = ''
|
||||||
|
patchShebangs ./configure
|
||||||
|
substituteInPlace src/config.c --replace /usr/bin/tar ${gnutar}/bin/tar
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "TV steaming server";
|
description = "TV steaming server";
|
||||||
|
Loading…
Reference in New Issue
Block a user