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

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

79 lines
1.4 KiB
Nix
Raw Normal View History

2022-04-22 08:00:56 +00:00
{ lib
, stdenv
, fetchFromGitLab
, rustPlatform
, cargo
2022-04-22 08:00:56 +00:00
, desktop-file-utils
, appstream-glib
, meson
, ninja
, pkg-config
, reuse
, rustc
2022-05-07 13:13:28 +00:00
, m4
2022-04-22 08:00:56 +00:00
, wrapGAppsHook4
, glib
, gtk4
, gst_all_1
, libadwaita
, dbus
}:
stdenv.mkDerivation rec {
pname = "amberol";
2023-05-24 06:07:50 +00:00
version = "0.10.3";
2022-04-22 08:00:56 +00:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
2023-04-25 08:42:45 +00:00
rev = version;
2023-05-24 06:07:50 +00:00
hash = "sha256-nAoUO0bGToNGD2W8qJmTegrETOJDdM04hI1jjiYkZXI=";
2022-04-22 08:00:56 +00:00
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
2023-05-24 06:07:50 +00:00
hash = "sha256-4ZoliqQ665KPDFl+1eBCE+1fZgr+FA7vesPstoRs0RU=";
2022-04-22 08:00:56 +00:00
};
postPatch = ''
patchShebangs build-aux
'';
nativeBuildInputs = [
appstream-glib
desktop-file-utils
meson
ninja
pkg-config
reuse
2022-05-07 13:13:28 +00:00
m4
2022-04-22 08:00:56 +00:00
wrapGAppsHook4
rustPlatform.cargoSetupHook
cargo
rustc
];
2022-04-22 08:00:56 +00:00
buildInputs = [
glib
gtk4
libadwaita
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav
dbus
];
meta = with lib; {
2022-06-04 11:52:08 +00:00
homepage = "https://gitlab.gnome.org/World/amberol";
2022-04-22 08:00:56 +00:00
description = "A small and simple sound and music player";
maintainers = with maintainers; [ linsui ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}