nixpkgs/pkgs/applications/audio/goodvibes/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1023 B
Nix
Raw Normal View History

2022-10-27 10:38:46 +00:00
{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, glib
, gtk3
, libsoup
, keybinder3
, gst_all_1
, wrapGAppsHook
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "goodvibes";
2023-01-22 01:34:01 +00:00
version = "0.7.6";
2022-10-27 10:38:46 +00:00
src = fetchFromGitLab {
owner = pname;
repo = pname;
rev = "v${version}";
2023-01-22 01:34:01 +00:00
hash = "sha256-w0nmTYcq2DBHSjQ23zWxT6optyH+lRAMRa210F7XEvE=";
2022-10-27 10:38:46 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
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 ];
};
}