mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
9a338f230e
* Remove unnecessary linker and compiler flags * Listify makeFlags * Do not use DESTDIR (nasty) * Let generic builder set --prefix configureFlag * Install X11 app-defaults to more modern directory * Format with nixpkgs-fmt
61 lines
1,003 B
Nix
61 lines
1,003 B
Nix
{ stdenv
|
|
, fetchurl
|
|
, ncurses
|
|
, libjpeg
|
|
, libX11
|
|
, libXt
|
|
, alsaLib
|
|
, aalib
|
|
, libXft
|
|
, xorgproto
|
|
, libv4l
|
|
, libFS
|
|
, libXaw
|
|
, libXpm
|
|
, libXext
|
|
, libSM
|
|
, libICE
|
|
, perl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xawtv-3.106";
|
|
|
|
src = fetchurl {
|
|
url = "https://linuxtv.org/downloads/xawtv/${name}.tar.bz2";
|
|
sha256 = "174wd36rk0k23mgx9nlnpc398yd1f0wiv060963axg6sz0v4rksp";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
libjpeg
|
|
libX11
|
|
libXt
|
|
libXft
|
|
xorgproto
|
|
libFS
|
|
perl
|
|
alsaLib
|
|
aalib
|
|
libXaw
|
|
libXpm
|
|
libXext
|
|
libSM
|
|
libICE
|
|
libv4l
|
|
];
|
|
|
|
makeFlags = [
|
|
"SUID_ROOT=" # do not try to setuid
|
|
"resdir=${placeholder ''out''}/share/X11"
|
|
];
|
|
|
|
meta = {
|
|
description = "TV application for Linux with apps and tools such as a teletext browser";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
homepage = https://www.kraxel.org/blog/linux/xawtv/;
|
|
maintainers = with stdenv.lib.maintainers; [ domenkozar ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|