From 55c8cbb4c2a4104472a13c4c5870fc98de569737 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sun, 18 Dec 2022 14:50:15 +0530 Subject: [PATCH] tuner: init at 1.5.1 --- pkgs/applications/audio/tuner/default.nix | 68 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 70 insertions(+) create mode 100644 pkgs/applications/audio/tuner/default.nix 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 d51c3eb0723e..8dfa01e81d28 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38208,4 +38208,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 { }; }