diff --git a/pkgs/data/misc/routinodb/default.nix b/pkgs/data/misc/routinodb/default.nix
index 78b0c0675e763a6d4f42876679b7970237e26686..294f7ce00dc34ba0641a15042c3f1fe8e0ded66a 100644
--- a/pkgs/data/misc/routinodb/default.nix
+++ b/pkgs/data/misc/routinodb/default.nix
@@ -1,21 +1,13 @@
-{ lib, stdenv, fetchurl, routino }:
+{ lib, stdenv, fetchurl, routino, prefix ? "Russia-NWFD" }:
stdenv.mkDerivation rec {
pname = "routinodb";
srcs = [
(fetchurl {
url = "https://download.geofabrik.de/europe/finland-${version}.osm.pbf";
hash = "sha256-L766WI5TWbh5vmaAWvS2xHxGa936KilUpnSBLz9z+ug=";
url = "https://download.geofabrik.de/europe/estonia-${version}.osm.pbf";
hash = "sha256-XxkZCC9cSHFiKfFvFCIgmxssq1D170GbBV8sG9Wcej8=";
url = "https://download.geofabrik.de/russia/northwestern-fed-district-${version}.osm.pbf";
hash = "sha256-aGhS/1n4tvoCrzMQHjerzM3mGhhQ/lNd7pGLsMe3YCU=";
hash = "sha256-1TdnM3OFkzIeHOgxXv7/iKmbtCZ/AKY5qT6ph1yt6C4=";
})
];
@@ -27,20 +19,20 @@
for src in $srcs; do
${routino}/bin/planetsplitter \
--dir=$out \
--prefix=RussiaNW \
--prefix=${prefix} \
--tagging=${routino}/share/routino/tagging.xml \
--parse-only --append $src
done
${routino}/bin/planetsplitter \
--dir=$out \
--prefix=RussiaNW \
--prefix=${prefix} \
--tagging=${routino}/share/routino/tagging.xml \
--process-only
'';
meta = with lib; {
homepage = "https://download.geofabrik.de/index.html";
license = licenses.free;
maintainers = [ maintainers.sikmir ];
diff --git a/pkgs/default.nix b/pkgs/default.nix
index d581908c547e3832590fdf32da5ed5ba4ac37f44..9684af8763229b429104162addbffd9199772322 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -67,7 +67,6 @@ ### DEVELOPMENT / LIBRARIES
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
deleted file mode 100644
index 7cd681bf33bd7b5bd503d5c7795f9cc9cb4c3c18..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-6/default.nix
+++ /dev/null
@@ -1,112 +0,0 @@
-# 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
deleted file mode 100644
index 06b516c73cb5a57097a8f47becb43fdcc4a39780..0000000000000000000000000000000000000000
--- a/pkgs/development/libraries/qt-6/icu.nix
+++ /dev/null
@@ -1,94 +0,0 @@
-# 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).