mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
lomiri.lomiri-sounds: init at 22.02
This commit is contained in:
parent
464e23f7a4
commit
684ba43919
47
pkgs/desktops/lomiri/data/lomiri-sounds/default.nix
Normal file
47
pkgs/desktops/lomiri/data/lomiri-sounds/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, testers
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "lomiri-sounds";
|
||||
version = "22.02";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ubports";
|
||||
repo = "development/core/lomiri-sounds";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-t9JYxrJ5ICslxidHmbD1wa6n7XZMf2a+PgMLcwgsDvU=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
maintainers = teams.lomiri.members;
|
||||
platforms = platforms.all;
|
||||
pkgConfigModules = [
|
||||
"lomiri-sounds"
|
||||
];
|
||||
};
|
||||
})
|
@ -9,6 +9,7 @@ let
|
||||
in {
|
||||
#### Data
|
||||
lomiri-schemas = callPackage ./data/lomiri-schemas { };
|
||||
lomiri-sounds = callPackage ./data/lomiri-sounds { };
|
||||
suru-icon-theme = callPackage ./data/suru-icon-theme { };
|
||||
|
||||
#### Development tools / libraries
|
||||
|
Loading…
Reference in New Issue
Block a user