diff --git a/pkgs/applications/radio/dabtools/default.nix b/pkgs/applications/radio/dabtools/default.nix new file mode 100644 index 000000000000..c9dbc59323ef --- /dev/null +++ b/pkgs/applications/radio/dabtools/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig +, libusb1, rtl-sdr, fftw +} : + +stdenv.mkDerivation rec { + pname = "dabtools"; + version = "20180405"; + + src = fetchFromGitHub { + owner = "Opendigitalradio"; + repo = "dabtools"; + rev = "8b0b2258b02020d314efd4d0d33a56c8097de0d1"; + sha256 = "18nkdybgg2w6zh56g6xwmg49sifalvraz4rynw8w5d8cqi3dm9sm"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ rtl-sdr fftw libusb1 ]; + + meta = with stdenv.lib; { + description = "Commandline tools for DAB and DAB+ digital radio broadcasts"; + homepage = "https://github.com/Opendigitalradio/dabtools"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = [ maintainers.markuskowa ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 098093213110..f2b13e2e84d3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1383,6 +1383,8 @@ in cucumber = callPackage ../development/tools/cucumber {}; + dabtools = callPackage ../applications/radio/dabtools { }; + daemontools = callPackage ../tools/admin/daemontools { }; dale = callPackage ../development/compilers/dale { };