diff --git a/nix/sources.json b/nix/sources.json

index 9320dcc2a9dc07d6818df0c17867785055d4045d..4b8ea394f632c1bc58acab0a00f016bee6e7c908 100644

--- a/nix/sources.json

+++ b/nix/sources.json

@@ -612,6 +612,20 @@ "type": "tarball",

     "url": "https://github.com/slazav/map_podm/archive/59a6035fa5bd1d1a8d6544881c1d0aad4a91f315.tar.gz",

     "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"

 },

 "map-tiler": {

     "branch": "master",

     "builtin": false,

diff --git a/pkgs/applications/gis/map-stylizer/config.patch b/pkgs/applications/gis/map-stylizer/config.patch

new file mode 100644

index 0000000000000000000000000000000000000000..37baa109ff8215a2384dde008540f296d8b98acb

--- /dev/null

+++ b/pkgs/applications/gis/map-stylizer/config.patch

@@ -0,0 +1,58 @@

+diff --git c/main.py i/main.py

+index 5164746..6a2398e 100644

+--- c/main.py

++++ i/main.py

+@@ -31,13 +31,13 @@ if name == 'main':

+- os.mkdir(c.FOLDER_DATA)

++ os.makedirs(c.FOLDER_DATA)

+- os.mkdir(c.FOLDER_OUTPUT)

++ os.makedirs(c.FOLDER_OUTPUT)

+- os.mkdir(c.FOLDER_CONFIGS)

++ os.makedirs(c.FOLDER_CONFIGS)

+- os.mkdir(c.FOLDER_USER_CONFIGS)

++ os.makedirs(c.FOLDER_USER_CONFIGS)

+diff --git c/src/core/constants.py i/src/core/constants.py

+index 69e53c8..1fae240 100644

+--- c/src/core/constants.py

++++ i/src/core/constants.py

+@@ -19,13 +19,14 @@ connect the VAL and CONFIG_STYLE in the DATA_GROUPS dictionary

++from os.path import expanduser

+-FOLDER_DATA = 'data'

+-FOLDER_OUTPUT = 'output'

+-FOLDER_CONFIGS = 'configs'

+-FOLDER_USER_CONFIGS = 'configs/user'

++FOLDER_DATA = expanduser('~/.local/share/map-stylizer/data')

++FOLDER_OUTPUT = expanduser('~/.local/share/map-stylizer/output')

++FOLDER_CONFIGS = expanduser('~/.config/map-stylizer/configs')

++FOLDER_USER_CONFIGS = expanduser('~/.config/map-stylizer/configs/user')

+diff --git c/src/gui/MainWindow/MainWindowHandlers.py i/src/gui/MainWindow/MainWindowHandlers.py

+index 2e491d6..c2223bc 100644

+--- c/src/gui/MainWindow/MainWindowHandlers.py

++++ i/src/gui/MainWindow/MainWindowHandlers.py

+@@ -228,7 +228,7 @@ class MainWindowHandlers(QMainWindow):

+- self, 'Save Image', 'output', 'Image Files (*.jpg)')

++ self, 'Save Image', 'output', 'Image Files (*.png)')

diff --git a/pkgs/applications/gis/map-stylizer/default.nix b/pkgs/applications/gis/map-stylizer/default.nix

new file mode 100644

index 0000000000000000000000000000000000000000..52f44f10165142cdf57a54cade3824f39cab46c6

--- /dev/null

+++ b/pkgs/applications/gis/map-stylizer/default.nix

@@ -0,0 +1,36 @@

+{ lib, python3Packages, qt5, sources }:

+python3Packages.buildPythonApplication {

+}

diff --git a/pkgs/default.nix b/pkgs/default.nix

index d10f9886509e25259715378c5bffb77f28939c7c..1bfb76727ce8d3c002c3a5912c83e93c228f9995 100644

--- a/pkgs/default.nix

+++ b/pkgs/default.nix

@@ -28,6 +28,7 @@ };

 klogg-bin = callPackage ./applications/misc/klogg/bin.nix { };

 librewolf = callPackage ./applications/networking/librewolf { };

 macpass-bin = callPackage ./applications/macpass/bin.nix { };

 maperitive-bin = callPackage ./applications/gis/maperitive/bin.nix { };

 mapsoft = callPackage ./applications/gis/mapsoft { };

 mapsoft2 = callPackage ./applications/gis/mapsoft/2.nix { };

Proxy Information
Original URL
gemini://git.sikmir.ru/nur-packages/commits/f41313d56a5e15ae6bb02365508e12ce603bb16e.patch
Status Code
Success (20)
Meta
application/octet-stream
Capsule Response Time
135.632523 milliseconds
Gemini-to-HTML Time
3.11736 milliseconds

This content has been proxied by September (3851b).