nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 65 lines 2.8 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 perl, 6 fetchpatch, 7}: 8stdenv.mkDerivation { 9 pname = "dvb-apps"; 10 version = "1.1.1-unstable-2014-03-21"; 11 12 src = fetchurl { 13 url = "https://www.linuxtv.org/hg/dvb-apps/archive/3d43b280298c.tar.bz2"; 14 hash = "sha256-854vDr7X4yvOg1IgYq1NQU9n/M1d8bZHYYUkSX4V4Fc="; 15 }; 16 17 patches = [ 18 (fetchpatch { 19 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-glibc-2.31.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 20 hash = "sha256-zSbbKSJgW4L983DR0GVXtgAHK6ILOQC3Gz2iGnmWOp8="; 21 }) 22 (fetchpatch { 23 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"; 24 hash = "sha256-GZunNYlhktalPOZ4ZST1MwooBvdDGA6ckscx/7mx8ok="; 25 }) 26 (fetchpatch { 27 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"; 28 hash = "sha256-+j+tP8O3mho+gcsDPzQUJaE39ZAgimMAJoRP1J1HrBk="; 29 }) 30 (fetchpatch { 31 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"; 32 hash = "sha256-jrRE1yySLbQWbF+SaugFN8VuEIfveSvjR0nKpmKffpQ="; 33 }) 34 (fetchpatch { 35 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"; 36 hash = "sha256-zIROx0HEvtZqvNBLlKp3aI3S2CihuS6l/OWf6WFFCrY="; 37 }) 38 (fetchpatch { 39 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"; 40 hash = "sha256-dLPlscdDOd7Kq+2sEhgJ/PBY1zN/0/fh3TU6JOELaYw="; 41 }) 42 (fetchpatch { 43 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"; 44 hash = "sha256-034TYxH1qHcdkwVxuAcNHORfBWhw/k8P+11QAc3jp74="; 45 }) 46 (fetchpatch { 47 url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=779520;filename=bug779520.patch;msg=17"; 48 hash = "sha256-UL5lKDfloXvngsabnslpVXbe/dmt4dzVK5W8JkIieps="; 49 }) 50 ]; 51 52 buildInputs = [ perl ]; 53 54 installFlags = [ "prefix=$(out)" ]; 55 56 dontConfigure = true; # skip configure 57 58 meta = { 59 description = "Linux DVB API applications and utilities"; 60 homepage = "https://linuxtv.org/"; 61 maintainers = with lib.maintainers; [ volfyd ]; 62 platforms = lib.platforms.linux; 63 license = lib.licenses.gpl2Plus; 64 }; 65}