depot/third_party/nixpkgs/pkgs/applications/audio/goodvibes/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

64 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, glib
, glib-networking
, gtk3
, libsoup
, keybinder3
, gst_all_1
, wrapGAppsHook3
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "goodvibes";
version = "0.7.9";
src = fetchFromGitLab {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-yXrCE3nsdZP4JHKVslzQafjZ380zC8sZv5TJf8dJqJw=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook3
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
# for libsoup TLS support
glib-networking
gtk3
libsoup
keybinder3
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
]);
postPatch = ''
patchShebangs scripts
'';
meta = with lib; {
description = "A lightweight internet radio player";
homepage = "https://gitlab.com/goodvibes/goodvibes";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}