Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.1 KiB
Nix

{
stdenvNoCC,
lib,
fetchFromGitLab,
gitUpdater,
testers,
cmake,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "lomiri-sounds";
version = "25.01";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/lomiri-sounds";
rev = finalAttrs.version;
hash = "sha256-j4OUwE1z++rLsg5y2YvZktFQfOys3QjoE8Ravd1JFVA=";
};
postPatch = ''
# Doesn't need a compiler, only installs data
substituteInPlace CMakeLists.txt \
--replace 'project (lomiri-sounds)' 'project (lomiri-sounds LANGUAGES NONE)'
'';
strictDeps = true;
nativeBuildInputs = [
cmake
];
passthru = {
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
updateScript = gitUpdater { };
};
meta = with lib; {
description = "Notification and ringtone sound effects for Lomiri";
homepage = "https://gitlab.com/ubports/development/core/lomiri-sounds";
license = with licenses; [
cc-by-30
cc0
cc-by-sa-30
cc-by-40
];
teams = [ teams.lomiri ];
platforms = platforms.all;
pkgConfigModules = [
"lomiri-sounds"
];
};
})