{ 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 = { description = "Notification and ringtone sound effects for Lomiri"; homepage = "https://gitlab.com/ubports/development/core/lomiri-sounds"; license = with lib.licenses; [ cc-by-30 cc0 cc-by-sa-30 cc-by-40 ]; teams = [ lib.teams.lomiri ]; platforms = lib.platforms.all; pkgConfigModules = [ "lomiri-sounds" ]; }; })