diff --git a/pkgs/default.nix b/pkgs/default.nix
index 449bff3ebe0a28110f77dfb384e0352dba85a455..1386c2884a950eb0efbf07ff7f72b64ef3915e3e 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -77,6 +77,7 @@ gpxlib = callPackage ./development/libraries/gpxlib { };
hfst = callPackage ./development/libraries/hfst { };
libshell = callPackage ./development/libraries/libshell { };
microjson = callPackage ./development/libraries/microjson { };
### DEVELOPMENT / PERL MODULES
diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..e6daf3c8dd4a6bb9e6ac28c07d16e00b315eead4
--- /dev/null
+++ b/pkgs/development/libraries/qt-6/default.nix
@@ -0,0 +1,112 @@
+# https://gist.github.com/rprospero/dd8e16bad9f842409c85e63ade31c355
+{ lib, stdenv, fetchurl, requireFile, python3Packages, p7zip, libmysqlclient, autoPatchelfHook
+, dbus, libxkbcommon, gdk-pixbuf, libdrm, libgssglue, mysql, gtkd
+, cups, pango, postgresql, libGL, libglvnd, xorg, unixODBC }:
+let
inherit pname version;
sha256 = "fmaAYOSHrx5LVUoPlIw0p/0jMRVGSPE+teEVlNurz10=";
python3Packages.setuptools-scm
python3Packages.texttable
python3Packages.patch
python3Packages.requests
semantic_version
p7zip
inherit pname version;
sha256 = "0sst4FWHYpNGebmhBOguynr0SMn0l00fPuzP9lHfilQ=";
Download https://mirrors.ukfast.co.uk/sites/qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_611/qt.qt6.611.gcc_64/6.1.1-0-202106031044qtbase-Linux-CentOS_8_3-GCC-Linux-CentOS_8_3-X86_64.7z
and add it to the nix store with nix-store --add-fixed sha256 <FILE>.
Download https://mirrors.ukfast.co.uk/sites/qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_611/qt.qt6.611.gcc_64/6.1.1-0-202106031044qtsvg-Linux-CentOS_8_3-GCC-Linux-CentOS_8_3-X86_64.7z
and add it to the nix store with nix-store --add-fixed sha256 <FILE>.
+in stdenv.mkDerivation {
inherit lib stdenv fetchurl;
version = "56.1";
sha256 = "OmTpEFxzTc9jHAs+1gQEUxvObA9aZL/hpkAqTMIxSBY=";
+}
diff --git a/pkgs/development/libraries/qt-6/icu.nix b/pkgs/development/libraries/qt-6/icu.nix
new file mode 100644
index 0000000000000000000000000000000000000000..06b516c73cb5a57097a8f47becb43fdcc4a39780
--- /dev/null
+++ b/pkgs/development/libraries/qt-6/icu.nix
@@ -0,0 +1,94 @@
+# https://gist.github.com/rprospero/dd8e16bad9f842409c85e63ade31c355
+{ lib, stdenv, fetchurl, version, sha256, patches ? [], patchFlags ? [] }:
+let
url = "https://github.com/unicode-org/icu/releases/download/release-${lib.replaceChars [ "." ] [ "-" ] version}/icu4c-${lib.replaceChars [ "." ] [ "_" ] version}-src.tgz";
inherit sha256;
sourceRoot=''${sourceRoot}/source
echo Source root reset to ''${sourceRoot}
then "substituteInPlace i18n/digitlst.cpp --replace '<xlocale.h>' '<locale.h>'"
else null; # won't find locale_t on darwin
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure
# $(includedir) is different from $(prefix)/include due to multiple outputs
sed -i -e 's|^\(CPPFLAGS = .*\) -I\$(prefix)/include|\1 -I$(includedir)|' config/Makefile.inc.in
# From https://archlinuxarm.org/packages/armv7h/icu/files/icudata-stdlibs.patch
sed -e 's/LDFLAGSICUDT=-nodefaultlibs -nostdlib/LDFLAGSICUDT=/' -i config/mh-linux
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) "--enable-rpath";
description = "Unicode and globalization support library";
homepage = "http://site.icu-project.org/";
maintainers = [ maintainers.sikmir ];
platforms = platforms.all;
skip.ci = true;
sed -i 's/INSTALL_CMD=.*install/INSTALL_CMD=install/' $out/lib/icu/${version}/pkgdata.inc
replacements = [
{ from = "\${prefix}/include"; to = "${placeholder "dev"}/include"; } # --cppflags-searchpath
{ from = "\${pkglibdir}/Makefile.inc"; to = "${placeholder "dev"}/lib/icu/Makefile.inc"; } # --incfile
{ from = "\${pkglibdir}/pkgdata.inc"; to = "${placeholder "dev"}/lib/icu/pkgdata.inc"; } # --incpkgdatafile
];
substituteInPlace "$dev/bin/icu-config" \
${lib.concatMapStringsSep " " (r: "--replace '${r.from}' '${r.to}'") replacements}
mkdir build
cd build
configureScript=../configure
cd ..
mv build $out
echo "Doing build-root only, exiting now" >&2
exit 0
then buildRootOnlyAttrs
else realAttrs;
+in
+stdenv.mkDerivation attrs
application/octet-stream
This content has been proxied by September (3851b).