Merge pull request #223960 from OPNA2608/init/qtpositioning

This commit is contained in:
Sandro 2023-04-23 17:58:34 +02:00 committed by GitHub
commit 87378fb42b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 0 deletions

View file

@ -164,6 +164,7 @@ let
inherit gstreamer gst-plugins-base;
};
qtnetworkauth = callPackage ../modules/qtnetworkauth.nix {};
qtpositioning = callPackage ../modules/qtpositioning.nix {};
qtquick1 = null;
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};

View file

@ -22,6 +22,17 @@ let
in
lib.mapAttrs mk (lib.importJSON ./srcs-generated.json)
// {
# Has no kde/5.15 branch
qtpositioning = rec {
version = "5.15.2";
src = fetchFromGitHub {
owner = "qt";
repo = "qtpositioning";
rev = "v${version}";
hash = "sha256-L/P+yAQItm3taPpCNoOOm7PNdOFZiIwJJYflk6JDWvU=";
};
};
# qtwebkit does not have an official release tarball on the qt mirror and is
# mostly maintained by the community.
qtwebkit = rec {

View file

@ -0,0 +1,14 @@
{ qtModule
, qtbase
, qtdeclarative
, qtserialport
, pkg-config
, openssl
}:
qtModule {
pname = "qtpositioning";
qtInputs = [ qtbase qtdeclarative qtserialport ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
}