2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "w_scan";
|
|
|
|
version = "20170107";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wirbel.htpc-forum.de/w_scan/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "1zkgnj2sfvckix360wwk1v5s43g69snm45m0drnzyv7hgf5g7q1q";
|
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
# Workaround build failure on -fno-common toolchains:
|
|
|
|
# ld: char-coding.o:/build/w_scan-20170107/si_types.h:117: multiple definition of
|
|
|
|
# `service_t'; countries.o:/build/w_scan-20170107/si_types.h:117: first defined here
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Small CLI utility to scan DVB and ATSC transmissions";
|
|
|
|
homepage = "http://wirbel.htpc-forum.de/w_scan/index_en.html";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.nico202 ] ;
|
|
|
|
license = lib.licenses.gpl2;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "w_scan";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|