mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
43fe6ac2a1
g4music: 3.6 -> 3.6.2
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitLab
|
|
, desktop-file-utils
|
|
, gitUpdater
|
|
, gobject-introspection
|
|
, gst_all_1
|
|
, gtk4
|
|
, libadwaita
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook4
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "g4music";
|
|
version = "3.6.2";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.gnome.org";
|
|
owner = "neithern";
|
|
repo = "g4music";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-yNKDTcLunTLhAtOBrjuycw0rrdCSwmhhVyBg3AfMUCQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
] ++ (with gst_all_1; [
|
|
gst-plugins-bad
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gstreamer
|
|
]);
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
rev-prefix = "v";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Beautiful, fast, fluent, light weight music player written in GTK4";
|
|
mainProgram = "g4music";
|
|
homepage = "https://gitlab.gnome.org/neithern/g4music";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ magnouvean ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|