g4music: init at 3.2

This commit is contained in:
Colin 2023-08-14 06:13:22 +00:00
parent 05e5edcce3
commit 54d6c9008d
3 changed files with 61 additions and 0 deletions

View File

@ -77,6 +77,13 @@ in [
hash = "sha256-jDXYLlXaEBKMrZ2dgxc6ucrcX/5dtqoIIKw+Ay19vlc=";
})
# broken...
# (fetchpatch' {
# title = "g4music: init at 2.4";
# prUrl = "https://github.com/NixOS/nixpkgs/pull/242943";
# hash = "sha256-kB79SI0v/6VYcr/Vb6n4KvqEvEiNPRVTF3kYsoxlwdM=";
# })
# (fetchpatch {
# # stdenv: fix cc for pseudo-crosscompilation
# # closed because it breaks pkgsStatic (as of 2023/02/12)

View File

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitLab
, desktop-file-utils
, gobject-introspection
, gst_all_1
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "g4music";
version = "3.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "neithern";
repo = "g4music";
rev = "v${version}";
hash = "sha256-BlHOYD4sOmJPNMzM5QA97Ah1N9tIat0Y6qxN6c5pmsw=";
};
nativeBuildInputs = [
desktop-file-utils # for update-desktop-database
meson
ninja
pkg-config
vala
wrapGAppsHook
gobject-introspection
];
buildInputs = [
gtk4
libadwaita
] ++ (with gst_all_1; [
gst-plugins-base
gst-plugins-good
gstreamer
]);
meta = with lib; {
description = "A beautiful, fast, fluent, light weight music player written in GTK4";
homepage = "https://gitlab.gnome.org/neithern/g4music";
license = licenses.gpl3;
maintainers = with maintainers; [ colinsane magnouvean ];
platforms = platforms.linux;
};
}

View File

@ -29,6 +29,7 @@ let
chatty-latest = callPackage ./additional/chatty-latest { };
eg25-manager = callPackage ./additional/eg25-manager { };
feeds = lib.recurseIntoAttrs (callPackage ./additional/feeds { });
g4music = callPackage ./additional/g4music { };
lemoa = callPackage ./additional/lemoa { };
jellyfin-media-player-qt6 = callPackage ./additional/jellyfin-media-player-qt6 { };
firefox-extensions = lib.recurseIntoAttrs (callPackage ./additional/firefox-extensions { });