diff options
author | magnouvean <c6af1d08-d039-472f-b890-6eaf2e96e961@anonaddy.me> | 2023-08-15 20:02:18 +0200 |
---|---|---|
committer | magnouvean <c6af1d08-d039-472f-b890-6eaf2e96e961@anonaddy.me> | 2023-08-15 20:02:18 +0200 |
commit | 817353588ebdbd7a50352d802fe370789c3a6b9b (patch) | |
tree | 5c5912eca69734b5ef96232bcc46a699b6dd93bb /pkgs/applications/audio/g4music | |
parent | 1c6c305e75e4be66779f50d5ccb669e70e34799b (diff) |
g4music: init at 3.2
Diffstat (limited to 'pkgs/applications/audio/g4music')
-rw-r--r-- | pkgs/applications/audio/g4music/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/applications/audio/g4music/default.nix b/pkgs/applications/audio/g4music/default.nix new file mode 100644 index 0000000000000..3e45bf4d87524 --- /dev/null +++ b/pkgs/applications/audio/g4music/default.nix @@ -0,0 +1,53 @@ +{ lib +, stdenv +, fetchFromGitLab +, desktop-file-utils +, gobject-introspection +, gst_all_1 +, gtk4 +, libadwaita +, meson +, ninja +, pkg-config +, vala +, wrapGAppsHook4 +}: +stdenv.mkDerivation (finalAttrs: { + pname = "g4music"; + version = "3.2"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "neithern"; + repo = "g4music"; + rev = "v${finalAttrs.version}"; + hash = "sha256-BlHOYD4sOmJPNMzM5QA97Ah1N9tIat0Y6qxN6c5pmsw="; + }; + + nativeBuildInputs = [ + desktop-file-utils + gobject-introspection + meson + ninja + pkg-config + vala + wrapGAppsHook4 + ]; + + 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.gpl3Only; + maintainers = with maintainers; [ magnouvean ]; + platforms = platforms.linux; + }; +}) |