decibels: Assimilate to GNOME core
https://blogs.gnome.org/mcatanzaro/2025/03/21/gnome-48-core-apps-update/ It is now part of GNOME core apps set. - Add GNOME team as maintainers. - Use `finalAttrs`. - Update repo paths. - Use GNOME sources and update script.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
fetchurl,
|
||||
appstream,
|
||||
blueprint-compiler,
|
||||
desktop-file-utils,
|
||||
@@ -13,20 +13,15 @@
|
||||
pkg-config,
|
||||
typescript,
|
||||
wrapGAppsHook4,
|
||||
nix-update-script,
|
||||
gnome,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "decibels";
|
||||
version = "48.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
group = "GNOME";
|
||||
owner = "Incubator";
|
||||
repo = "decibels";
|
||||
tag = version;
|
||||
hash = "sha256-qtKiKfcxGLuV1bE3lb7l4s+reZRJXcjlV35M8eZmvHc=";
|
||||
fetchSubmodules = true;
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/decibels/${lib.versions.major finalAttrs.version}/decibels-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-IpsRqSYxR7y4w+If8NSvZZ+yYmL4rs5Uetz4xl4DH3Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -60,16 +55,21 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "decibels";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Play audio files";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/Incubator/decibels";
|
||||
changelog = "https://gitlab.gnome.org/GNOME/decibels/-/blob/${version}/NEWS?ref_type=tags";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/decibels";
|
||||
changelog = "https://gitlab.gnome.org/GNOME/decibels/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
|
||||
license = lib.licenses.gpl3Only;
|
||||
teams = [ lib.teams.gnome-circle ];
|
||||
teams = [
|
||||
lib.teams.gnome
|
||||
lib.teams.gnome-circle
|
||||
];
|
||||
mainProgram = "org.gnome.Decibels";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user