vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / dv / dvb-apps / package.nix
blobad28bcd0ce6ed016d196a7af8795ff21891143ff
1 { lib
2 , stdenv
3 , fetchurl
4 , perl
5 , fetchpatch
6 }:
7 stdenv.mkDerivation {
8   pname = "dvb-apps";
9   version = "1.1.1-unstable-2014-03-21";
11   src = fetchurl {
12     url = "https://www.linuxtv.org/hg/dvb-apps/archive/3d43b280298c.tar.bz2";
13     hash = "sha256-854vDr7X4yvOg1IgYq1NQU9n/M1d8bZHYYUkSX4V4Fc=";
14   };
16   patches = [
17     (fetchpatch {
18       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-glibc-2.31.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
19       hash = "sha256-zSbbKSJgW4L983DR0GVXtgAHK6ILOQC3Gz2iGnmWOp8=";
20     })
21     (fetchpatch {
22       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-no-ca_set_pid.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
23       hash = "sha256-GZunNYlhktalPOZ4ZST1MwooBvdDGA6ckscx/7mx8ok=";
24     })
25     (fetchpatch {
26       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-alevt.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
27       hash = "sha256-+j+tP8O3mho+gcsDPzQUJaE39ZAgimMAJoRP1J1HrBk=";
28     })
29     (fetchpatch {
30       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-ldflags.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
31       hash = "sha256-jrRE1yySLbQWbF+SaugFN8VuEIfveSvjR0nKpmKffpQ=";
32     })
33     (fetchpatch {
34       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
35       hash = "sha256-zIROx0HEvtZqvNBLlKp3aI3S2CihuS6l/OWf6WFFCrY=";
36     })
37     (fetchpatch {
38       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
39       hash = "sha256-dLPlscdDOd7Kq+2sEhgJ/PBY1zN/0/fh3TU6JOELaYw=";
40     })
41     (fetchpatch {
42       url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c";
43       hash = "sha256-034TYxH1qHcdkwVxuAcNHORfBWhw/k8P+11QAc3jp74=";
44     })
45     (fetchpatch {
46       url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=779520;filename=bug779520.patch;msg=17";
47       hash = "sha256-UL5lKDfloXvngsabnslpVXbe/dmt4dzVK5W8JkIieps=";
48     })
49   ];
51   buildInputs = [ perl ];
53   installFlags = [ "prefix=$(out)" ];
55   dontConfigure = true; # skip configure
57   meta = {
58     description = "Linux DVB API applications and utilities";
59     homepage = "https://linuxtv.org/";
60     maintainers = with lib.maintainers; [ volfyd ];
61     platforms = lib.platforms.linux;
62     license = lib.licenses.gpl2Plus;
63   };