Merge staging-next-22.11 into staging-22.11

This commit is contained in:
github-actions[bot]
2023-02-27 00:14:48 +00:00
committed by GitHub
5 changed files with 28 additions and 7 deletions

View File

@@ -29,11 +29,12 @@
, qtkeychain
, qt3d
, qscintilla
, qtlocation
, qtserialport
, qtxmlpatterns
, withGrass ? true
, grass
, withWebKit ? true
, withWebKit ? false
, qtwebkit
, pdal
, zstd
@@ -111,6 +112,7 @@ in mkDerivation rec {
qca-qt5
qtkeychain
qscintilla
qtlocation
qtserialport
qtxmlpatterns
qt3d
@@ -134,7 +136,11 @@ in mkDerivation rec {
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF"
++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/grass78";
++ lib.optional withGrass (let
gmajor = lib.versions.major grass.version;
gminor = lib.versions.minor grass.version;
in "-DGRASS_PREFIX${gmajor}=${grass}/grass${gmajor}${gminor}"
);
dontWrapGApps = true; # wrapper params passed below

View File

@@ -29,11 +29,12 @@
, qtkeychain
, qt3d
, qscintilla
, qtlocation
, qtserialport
, qtxmlpatterns
, withGrass ? true
, grass
, withWebKit ? true
, withWebKit ? false
, qtwebkit
, pdal
, zstd
@@ -111,6 +112,7 @@ in mkDerivation rec {
qca-qt5
qtkeychain
qscintilla
qtlocation
qtserialport
qtxmlpatterns
qt3d
@@ -134,7 +136,11 @@ in mkDerivation rec {
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF"
++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/grass78";
++ lib.optional withGrass (let
gmajor = lib.versions.major grass.version;
gminor = lib.versions.minor grass.version;
in "-DGRASS_PREFIX${gmajor}=${grass}/grass${gmajor}${gminor}"
);
dontWrapGApps = true; # wrapper params passed below

View File

@@ -12,6 +12,7 @@
, docbook_xml_dtd_42
, cmocka
, wafHook
, libxcrypt
}:
stdenv.mkDerivation rec {
@@ -32,6 +33,8 @@ stdenv.mkDerivation rec {
libxslt
docbook-xsl-nons
docbook_xml_dtd_42
tdb
tevent
];
buildInputs = [
@@ -42,6 +45,7 @@ stdenv.mkDerivation rec {
tevent
popt
cmocka
libxcrypt
];
# otherwise the configure script fails with

View File

@@ -10,6 +10,7 @@
, docbook_xml_dtd_42
, which
, wafHook
, libxcrypt
}:
stdenv.mkDerivation rec {
@@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
cmocka
readline # required to build python
talloc
libxcrypt
];
# otherwise the configure script fails with
@@ -52,6 +54,11 @@ stdenv.mkDerivation rec {
"--builtin-libraries=replace"
];
# python-config from build Python gives incorrect values when cross-compiling.
# If python-config is not found, the build falls back to using the sysconfig
# module, which works correctly in all cases.
PYTHON_CONFIG = "/invalid";
meta = with lib; {
description = "An event system based on the talloc memory management library";
homepage = "https://tevent.samba.org/";

View File

@@ -11,10 +11,8 @@ stdenv.mkDerivation rec {
buildInputs = [ dpkg ];
sourceRoot = ".";
unpackCmd = ''
dpkg-deb -x "$src" .
dpkg-deb -x "$src" source
'';
installPhase = ''