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

index d1fc73a51c4d4a421fd192556891ddb057314a7f..aada9350445a9bfdc7713c03792c9bbeb2f877f5 100644

--- a/nix/sources.json

+++ b/nix/sources.json

@@ -44,15 +44,15 @@ },

 "cheetah3": {

     "branch": "master",

     "builtin": false,

     "description": "Cheetah3 is a free (MIT) and open source template engine for Python",

     "homepage": "https://cheetahtemplate.org/",

     "owner": "CheetahTemplate3",

     "repo": "cheetah3",

     "type": "tarball",

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

 },

 "csvquote": {

@@ -170,15 +170,15 @@ },

 "embox": {

     "branch": "master",

     "builtin": false,

     "description": "Modular and configurable OS for embedded applications",

     "homepage": "http://embox.github.io",

     "owner": "embox",

     "repo": "embox",

     "type": "tarball",

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

 },

 "foma": {

@@ -239,27 +239,27 @@ "url_template": "https://github.com///archive/.tar.gz"

 },

 "geofabrik-estonia": {

     "builtin": false,

     "type": "file",

     "url_template": "https://download.geofabrik.de/europe/estonia-<version>.osm.pbf",

 },

 "geofabrik-finland": {

     "builtin": false,

     "type": "file",

     "url_template": "https://download.geofabrik.de/europe/finland-<version>.osm.pbf",

 },

 "geofabrik-russia-nwfd": {

     "builtin": false,

     "type": "file",

     "url_template": "https://download.geofabrik.de/russia/northwestern-fed-district-<version>.osm.pbf",

 },

 "gimgtools": {

     "branch": "master",

@@ -377,15 +377,15 @@ "gpxsee": {

     "branch": "master",

     "builtin": false,

     "changelog": "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes",

     "description": "GPS log file viewer and analyzer",

     "homepage": "https://www.gpxsee.org",

     "owner": "tumic0",

     "repo": "GPXSee",

     "type": "tarball",

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

 },

 "gpxsee-maps": {

@@ -629,15 +629,15 @@ },

 "mapper": {

     "branch": "master",

     "builtin": false,

     "description": "OpenOrienteering Mapper is a software for creating maps for the orienteering sport",

     "homepage": "https://www.openorienteering.org/apps/mapper/",

     "owner": "OpenOrienteering",

     "repo": "mapper",

     "type": "tarball",

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

 },

 "maprec": {

@@ -673,11 +673,11 @@ "builtin": false,

     "description": "Ежедневная сборка карт из данных OpenStreetMap для навигационных приборов и приложений Garmin",

     "homepage": "https://maptourist.org",

     "region": "szfo",

     "type": "file",

     "url_template": "https://maptourist.org/osm-garmin/archive/OSM-MapTourist-<region>-RU_<version>.zip",

 },

 "mercantile": {

     "branch": "master",

@@ -860,15 +860,15 @@ },

 "py-staticmaps": {

     "branch": "master",

     "builtin": false,

     "description": "A python module to create static map images with markers, geodesic lines, etc.",

     "homepage": "https://github.com/flopp/py-staticmaps",

     "owner": "flopp",

     "repo": "py-staticmaps",

     "type": "tarball",

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

 },

 "pyephem": {

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

index 03676ae9a376b9b9b5d1774036fc78351b4006db..b796fffacd53b9df6434cce68006e7270833eaa1 100644

--- a/nix/sources.nix

+++ b/nix/sources.nix

@@ -1,82 +1,105 @@

This file has been generated by Niv.

let

The fetchers. fetch_ fetches specs of type .

Various helpers

The set of packages used when specs are fetched using non-builtins.

 let

   sourcesNixpkgs =

   hasNixpkgsPath = builtins.any (x: x.prefix == "nixpkgs") builtins.nixPath;

   hasThisAsNixpkgsPath = <nixpkgs> == ./.;

 in

The actual fetching function.

fetch = pkgs: name: spec:

 if ! builtins.hasAttr "type" spec then

   abort "ERROR: niv spec ${name} does not have a 'type' attribute"

 else

   abort "ERROR: niv spec ${name} has unknown type ${builtins.toJSON spec.type}";

Ports of functions for older nix versions

a Nix version of mapAttrs if the built-in doesn't exist

@@ -85,44 +108,57 @@ f: set: with builtins;

 listToAttrs (map (attr: { name = attr; value = f attr set.${attr}; }) (attrNames set))

);

fetchTarball version that is compatible between all the versions of Nix

 let

   inherit (builtins) lessThan nixVersion fetchTarball;

 in

fetchurl version that is compatible between all the versions of Nix

 let

   inherit (builtins) lessThan nixVersion fetchurl;

 in

Create the final "sources" from the config

mkSources = config:

The "config" used by the fetchers

mkConfig =

 }: rec {

   # The sources, i.e. the attribute set of spec name to spec

   inherit sources;

@@ -130,5 +166,6 @@

   # The "pkgs" (evaluated nixpkgs) to use for e.g. non-builtin fetchers

   inherit pkgs;

 };

in

-mkSources (mkConfig { }) // { __functor = _: settings: mkSources (mkConfig settings); }

+mkSources (mkConfig {}) // { __functor = _: settings: mkSources (mkConfig settings); }

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

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