slackdump: 3.0.3 -> 3.0.5 (#379390)
[NixPkgs.git] / pkgs / by-name / ga / gapless / package.nix
blob6683bdccc3bee15403ce748a482ce048a82f8f5d
2   lib,
3   stdenv,
4   fetchFromGitLab,
5   desktop-file-utils,
6   gitUpdater,
7   gobject-introspection,
8   gst_all_1,
9   gtk4,
10   libadwaita,
11   meson,
12   ninja,
13   pkg-config,
14   vala,
15   wrapGAppsHook4,
17 stdenv.mkDerivation (finalAttrs: {
18   pname = "gapless";
19   version = "4.3";
21   src = fetchFromGitLab {
22     domain = "gitlab.gnome.org";
23     owner = "neithern";
24     repo = "g4music";
25     rev = "v${finalAttrs.version}";
26     hash = "sha256-3YE2dWkvb/nAQnhwzR3DOLcjUNmni+OQPxGucmecs/k=";
27   };
29   nativeBuildInputs = [
30     desktop-file-utils
31     gobject-introspection
32     meson
33     ninja
34     pkg-config
35     vala
36     wrapGAppsHook4
37   ];
39   buildInputs =
40     [
41       gtk4
42       libadwaita
43     ]
44     ++ (with gst_all_1; [
45       gst-plugins-bad
46       gst-plugins-base
47       gst-plugins-good
48       gstreamer
49     ]);
51   passthru.updateScript = gitUpdater {
52     rev-prefix = "v";
53   };
55   meta = with lib; {
56     description = "Beautiful, fast, fluent, light weight music player written in GTK4";
57     mainProgram = "g4music";
58     homepage = "https://gitlab.gnome.org/neithern/g4music";
59     license = licenses.gpl3Only;
60     maintainers = with maintainers; [ aleksana ];
61     platforms = platforms.linux;
62   };