Merge pull request #245904 from OPNA2608/init/lomiri/lomiri-schemas
lomiri.lomiri-schemas: init at 0.1.3
This commit is contained in:
commit
555312ae73
2 changed files with 61 additions and 0 deletions
58
pkgs/desktops/lomiri/data/lomiri-schemas/default.nix
Normal file
58
pkgs/desktops/lomiri/data/lomiri-schemas/default.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, testers
|
||||
, cmake
|
||||
, cmake-extras
|
||||
, glib
|
||||
, intltool
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lomiri-schemas";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ubports";
|
||||
repo = "development/core/lomiri-schemas";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-FrDUFqdD0KW2VG2pTA6LMb6/9PdNtQUlYTEo1vnW6QQ=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
glib # glib-compile-schemas
|
||||
pkg-config
|
||||
intltool
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmake-extras
|
||||
glib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGSETTINGS_LOCALINSTALL=ON"
|
||||
"-DGSETTINGS_COMPILE=ON"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
updateScript = gitUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "GSettings / AccountsService schema files for Lomiri";
|
||||
homepage = "https://gitlab.com/ubports/development/core/lomiri-schemas";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.lomiri.members;
|
||||
platforms = platforms.linux;
|
||||
pkgConfigModules = [
|
||||
"lomiri-schemas"
|
||||
];
|
||||
};
|
||||
})
|
|
@ -7,6 +7,9 @@ let
|
|||
packages = self: let
|
||||
inherit (self) callPackage;
|
||||
in {
|
||||
#### Data
|
||||
lomiri-schemas = callPackage ./data/lomiri-schemas { };
|
||||
|
||||
#### Development tools / libraries
|
||||
cmake-extras = callPackage ./development/cmake-extras { };
|
||||
deviceinfo = callPackage ./development/deviceinfo { };
|
||||
|
|
Loading…
Reference in a new issue