diff --git a/pkgs/applications/audio/tuner/default.nix b/pkgs/applications/audio/tuner/default.nix new file mode 100644 index 000000000000..0f4db5af20a6 --- /dev/null +++ b/pkgs/applications/audio/tuner/default.nix @@ -0,0 +1,68 @@ +{ stdenv +, lib +, fetchFromGitHub +, pkg-config +, meson +, ninja +, vala +, glib +, itstool +, wrapGAppsHook +, desktop-file-utils +, libsoup +, json-glib +, geoclue2 +, geocode-glib +, libgee +, gtk3 +, pantheon +, gst_all_1 +}: + +stdenv.mkDerivation rec { + pname = "tuner"; + version = "1.5.1"; + + src = fetchFromGitHub { + owner = "louis77"; + repo = pname; + rev = version; + sha256 = "sha256-tG1AMEqHcp4jHNgWDy9fS2FtlxFTlpMD5MVbepIY+GY="; + }; + + nativeBuildInputs = [ + pkg-config + meson + ninja + vala + glib + itstool + wrapGAppsHook + desktop-file-utils + ]; + + buildInputs = [ + libsoup + json-glib + geoclue2 + geocode-glib + libgee + glib + gtk3 + pantheon.granite + gst_all_1.gstreamer + gst_all_1.gst-plugins-base + gst_all_1.gst-plugins-bad + gst_all_1.gst-plugins-good + gst_all_1.gst-plugins-ugly + ]; + + meta = with lib; { + homepage = "https://github.com/louis77/tuner"; + description = "An app to discover and play internet radio stations"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + mainProgram = "com.github.louis77.tuner"; + maintainers = [ maintainers.abbe ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 780477ad777b..80d416318729 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38239,4 +38239,6 @@ with pkgs; widevine-cdm = callPackage ../applications/networking/browsers/misc/widevine-cdm.nix { }; alsa-scarlett-gui = callPackage ../applications/audio/alsa-scarlett-gui { }; + + tuner = callPackage ../applications/audio/tuner { }; }