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

index f571c35269f620bcc725534d634525f91a19a6cf..161f60604ee8b34f5be0c741d355c157eb6c2e63 100644

--- a/default.nix

+++ b/default.nix

@@ -6,125 +6,17 @@ # Having pkgs default to is fine though, and it lets you use short

commands such as:

nix-build -A mypackage

-{ pkgs ? import { } }:

+{ pkgs ? import args

+, sources ? import ./nix/sources.nix

+, system ? builtins.currentSystem, ... }@args:

-with pkgs;

+with (import <nixpkgs/lib>).attrsets;

-let

-in stdenv.lib.makeScope pkgs.newScope (self: with self; {

+{

The lib, modules, and overlay names are special

-})

+} // (optionalAttrs (builtins.tryEval pkgs).success (import ./pkgs {

+}))

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

index 97d198635723debb043643c2b7e62f0b5b7f928e..e903063ac8eac8f85d93f080bb67dc9a233299c9 100644

--- a/pkgs/applications/gpxlab/default.nix

+++ b/pkgs/applications/gpxlab/default.nix

@@ -1,9 +1,9 @@

-{ mkDerivation, lib, qmake, qtbase, qttools, qttranslations, gpxlab }:

+{ mkDerivation, lib, qmake, qtbase, qttools, qttranslations, sources }:

mkDerivation rec {

pname = "gpxlab";

version = lib.substring 0 7 src.rev;

nativeBuildInputs = [ qmake qttools ];

buildInputs = [ qtbase qttranslations ];

@@ -15,8 +15,7 @@

enableParallelBuilding = true;

meta = with lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

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

index 6b75406db3fff6e0b1e10237c31a8c990d1deb62..1a6785d7ccbd6732aee6995893d7aace48e93d18 100644

--- a/pkgs/applications/gpxsee/default.nix

+++ b/pkgs/applications/gpxsee/default.nix

@@ -1,9 +1,9 @@

-{ mkDerivation, lib, qmake, qtbase, qttools, qttranslations, gpxsee }:

+{ mkDerivation, lib, qmake, qtbase, qttools, qttranslations, sources }:

mkDerivation rec {

pname = "gpxsee";

version = lib.substring 0 7 src.rev;

nativeBuildInputs = [ qmake qttools ];

buildInputs = [ qtbase qttranslations ];

@@ -15,8 +15,7 @@

enableParallelBuilding = true;

meta = with lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

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

index d92e2ad7a4bb7f626913b566a6810b7a37ef4d30..e8ab9d44c2c66b993d73a095d3af1015d3471f45 100644

--- a/pkgs/applications/mapsoft/default.nix

+++ b/pkgs/applications/mapsoft/default.nix

@@ -1,4 +1,4 @@

-{ stdenv, perlPackages, python2Packages, gimp, mapsoft

+{ stdenv, perlPackages, python2Packages, gimp, sources

, bc, fig2dev, imagemagick, m4, netpbm, pkgconfig, scons

, boost, curl, giflib, gtkmm2, jansson, libjpeg, libpng

, libshell, libtiff, libusb1, libxml2, libyaml, libzip

@@ -7,7 +7,7 @@

stdenv.mkDerivation rec {

pname = "mapsoft";

version = stdenv.lib.substring 0 7 src.rev;

patches = [ ./0001-fix-build.patch ];

@@ -65,8 +65,7 @@ wrapProgram $out/bin/mapsoft_wp_parse --prefix PERL5LIB : "$PERL5LIB"

'';

meta = with stdenv.lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

diff --git a/pkgs/applications/openorienteering-mapper/default.nix b/pkgs/applications/openorienteering-mapper/default.nix

index 5f64f5b4e70b8245f95974ca35565ef2e44f779d..42c7b549f2205d594ebc0bce47b02172f0aecce6 100644

--- a/pkgs/applications/openorienteering-mapper/default.nix

+++ b/pkgs/applications/openorienteering-mapper/default.nix

@@ -1,10 +1,10 @@

{ stdenv, gdal, cmake, ninja, proj, clipper, zlib, qtbase, qttools, qtlocation

-, qtsensors, doxygen, cups, wrapQtAppsHook, qtimageformats, mapper }:

+, qtsensors, doxygen, cups, wrapQtAppsHook, qtimageformats, sources }:

stdenv.mkDerivation rec {

pname = "OpenOrienteering-Mapper";

version = stdenv.lib.substring 0 7 src.rev;

buildInputs = [

 gdal

@@ -50,8 +50,7 @@ ln -s $out/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper

'';

meta = with stdenv.lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = with platforms; linux ++ darwin;

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

index f3fbb39b7ed129bf997184d4f8616aedf8ed7a48..c14522850b7b9439d4294c1ccec8b1a84ca73a57 100644

--- a/pkgs/applications/redict/default.nix

+++ b/pkgs/applications/redict/default.nix

@@ -1,10 +1,10 @@

{ mkDerivation, lib, pkgconfig, qmake, qtbase, qtmultimedia, qtsvg, qttools

-, qtx11extras, libX11, libXext, libXtst, redict }:

+, qtx11extras, libX11, libXext, libXtst, sources }:

mkDerivation rec {

pname = "redict";

version = lib.substring 0 7 src.rev;

nativeBuildInputs = [ qmake qttools pkgconfig ];

buildInputs =

@@ -24,8 +24,7 @@

enableParallelBuilding = true;

meta = with lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

diff --git a/pkgs/data/maps/gpxsee-maps/default.nix b/pkgs/data/maps/gpxsee-maps/default.nix

index 5d6bcadff6a2624e1d24bb8d793a29196bff3bc4..13d8c6798d8f445a67b4ea44209c30e59fd57565 100644

--- a/pkgs/data/maps/gpxsee-maps/default.nix

+++ b/pkgs/data/maps/gpxsee-maps/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, gpxsee-maps }:

+{ stdenv, sources }:

stdenv.mkDerivation rec {

pname = "gpxsee-maps";

version = stdenv.lib.substring 0 7 src.rev;

installPhase = ''

 install -dm755 "$out/share/gpxsee/maps"

@@ -11,8 +11,7 @@ cp -r World "$out/share/gpxsee/maps"

'';

meta = with stdenv.lib; {

 license = licenses.unlicense;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.all;

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

new file mode 100644

index 0000000000000000000000000000000000000000..094c2d3ae92c265be182398c6653cb3c03c653e1

--- /dev/null

+++ b/pkgs/default.nix

@@ -0,0 +1,87 @@

+{ pkgs, sources }:

+let

+in

+lib.makeScope newScope (self: with self; {

+})

diff --git a/pkgs/development/libraries/libshell/default.nix b/pkgs/development/libraries/libshell/default.nix

index 79c2e942828d6b8a570f9493d9b0a6806bf0b77f..9a8bd3b48de7b4a99014ac1e6827f76afdf6dcdd 100644

--- a/pkgs/development/libraries/libshell/default.nix

+++ b/pkgs/development/libraries/libshell/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, dash, help2man, ncurses, scdoc, libshell }:

+{ stdenv, dash, help2man, ncurses, scdoc, sources }:

stdenv.mkDerivation rec {

pname = "libshell";

version = stdenv.lib.substring 0 7 src.rev;

nativeBuildInputs = [ help2man scdoc ];

buildInputs = [ dash ncurses ];

@@ -22,8 +22,7 @@

doCheck = false;

meta = with stdenv.lib; {

 license = licenses.gpl2;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.all;

diff --git a/pkgs/development/python-modules/cheetah3/default.nix b/pkgs/development/python-modules/cheetah3/default.nix

index 7835bb264efc0877cd72215c4eefe5ab8b4f9c52..92e8f532f90b57fed16a3bc19fb4f38c8a956dcc 100644

--- a/pkgs/development/python-modules/cheetah3/default.nix

+++ b/pkgs/development/python-modules/cheetah3/default.nix

@@ -1,15 +1,14 @@

-{ lib, buildPythonPackage, cheetah3 }:

+{ lib, buildPythonPackage, sources }:

buildPythonPackage rec {

pname = "cheetah3";

version = lib.substring 0 7 src.rev;

doCheck = false;

meta = with lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/development/python-modules/gpxelevations/default.nix b/pkgs/development/python-modules/gpxelevations/default.nix

index 3a3d5d1504d3eb857921104bbc9efae5f8b7d086..6fc73c559dc0cc66063a9d38804294436a4c3058 100644

--- a/pkgs/development/python-modules/gpxelevations/default.nix

+++ b/pkgs/development/python-modules/gpxelevations/default.nix

@@ -1,9 +1,9 @@

-{ lib, buildPythonApplication, python, requests, gpxpy, gpxelevations }:

+{ lib, buildPythonApplication, python, requests, gpxpy, sources }:

buildPythonApplication rec {

pname = "gpxelevations";

version = lib.substring 0 7 src.rev;

propagatedBuildInputs = [ requests gpxpy ];

@@ -13,8 +13,7 @@ # ${python.interpreter} -m unittest test

#'';

meta = with lib; {

 license = licenses.asl20;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/development/python-modules/mercantile/default.nix b/pkgs/development/python-modules/mercantile/default.nix

index 6974db5fe497dd68ff1b552f388b0dda89888a7d..28a95992b6254dfbc11c0de4410a88a3cbb7e013 100644

--- a/pkgs/development/python-modules/mercantile/default.nix

+++ b/pkgs/development/python-modules/mercantile/default.nix

@@ -1,9 +1,9 @@

-{ lib, buildPythonPackage, click, pytest, mercantile }:

+{ lib, buildPythonPackage, click, pytest, sources }:

buildPythonPackage rec {

pname = "mercantile";

version = lib.substring 0 7 src.rev;

propagatedBuildInputs = [ click ];

@@ -11,8 +11,7 @@ checkInputs = [ pytest ];

checkPhase = "pytest";

meta = with lib; {

 license = licenses.bsd3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/development/python-modules/pyephem/default.nix b/pkgs/development/python-modules/pyephem/default.nix

index 352878d9c1d80283640ee9ea7141db7dcaac6bbc..5d303b1f134c7d15849699c8e1086854ba0738c9 100644

--- a/pkgs/development/python-modules/pyephem/default.nix

+++ b/pkgs/development/python-modules/pyephem/default.nix

@@ -1,13 +1,12 @@

-{ lib, buildPythonPackage, pyephem }:

+{ lib, buildPythonPackage, sources }:

buildPythonPackage rec {

pname = "pyephem";

version = lib.substring 0 7 src.rev;

meta = with lib; {

 license = licenses.lgpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/development/python-modules/pymbtiles/default.nix b/pkgs/development/python-modules/pymbtiles/default.nix

index 8b73d72b66ec01b357ed509b2bdd5dd816ae4250..b25de035a26dfd29bc642ac48e491d4a897f9caa 100644

--- a/pkgs/development/python-modules/pymbtiles/default.nix

+++ b/pkgs/development/python-modules/pymbtiles/default.nix

@@ -1,16 +1,15 @@

-{ lib, buildPythonPackage, pytest, pymbtiles }:

+{ lib, buildPythonPackage, pytest, sources }:

buildPythonPackage rec {

pname = "pymbtiles";

version = lib.substring 0 7 src.rev;

checkInputs = [ pytest ];

checkPhase = "pytest";

meta = with lib; {

 license = licenses.isc;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index d4367b178962b9756047cd25a8fe172a3b17abee..ae7ddbd62a8541942ea21becc1fbc6b52165f396 100644

--- a/pkgs/embox/default.nix

+++ b/pkgs/embox/default.nix

@@ -1,10 +1,10 @@

-{ stdenv, fetchurl, writers, embox

+{ stdenv, fetchurl, writers, sources

, cpio, gcc-arm-embedded, python, qemu, unzip, which }:

stdenv.mkDerivation rec {

pname = "embox";

version = stdenv.lib.substring 0 7 src.rev;

template = "arm/qemu";

cjson = fetchurl {

@@ -52,8 +52,7 @@ install -Dm755 scripts/qemu/stop_script $out/share/embox/scripts/qemu_stop

'';

meta = with stdenv.lib; {

 license = licenses.bsd2;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

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

index e8ebead71b5d216aec225c774d9981e7f158fea7..b1d9391b1ced8a066f9c68661cfb7be3fdc7d257 100644

--- a/pkgs/servers/mbtileserver/default.nix

+++ b/pkgs/servers/mbtileserver/default.nix

@@ -1,15 +1,14 @@

-{ lib, buildGoModule, mbtileserver }:

+{ lib, buildGoModule, sources }:

buildGoModule rec {

pname = "mbtileserver";

version = lib.substring 0 7 src.rev;

modSha256 = "147rpf3dd0md7pm7yfniy139kv3fb3kmyp82slpjrf8xdqgbrpk0";

meta = with lib; {

 license = licenses.isc;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index 1d6f4d9c4224bb5f6251a2d2cdc956835d28a527..a085743b740227b3cd7dda0278001ca3832a1fa3 100644

--- a/pkgs/tools/cfiles/default.nix

+++ b/pkgs/tools/cfiles/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, pkg-config, ncurses, w3m, ueberzug, cfiles }:

+{ stdenv, pkg-config, ncurses, w3m, ueberzug, sources }:

stdenv.mkDerivation rec {

pname = "cfiles";

version = stdenv.lib.substring 0 7 src.rev;

nativeBuildInputs = [ pkg-config ];

buildInputs = [ ncurses w3m ueberzug ];

@@ -20,8 +20,7 @@ --replace "ueberzug" "${ueberzug}/bin/ueberzug"

'';

meta = with stdenv.lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index 25025e77f568e5a8a5c4923debbde0e7211c6fc3..e4ccb9cde9721267ea464b406fdb4fd0c8f20cc6 100644

--- a/pkgs/tools/datamaps/default.nix

+++ b/pkgs/tools/datamaps/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, libpng, pkg-config, datamaps }:

+{ stdenv, libpng, pkg-config, sources }:

stdenv.mkDerivation rec {

pname = "datamaps";

version = stdenv.lib.substring 0 7 src.rev;

nativeBuildInputs = [ pkg-config ];

buildInputs = [ libpng ];

@@ -18,10 +18,9 @@ done

'';

meta = with stdenv.lib; {

 license = licenses.bsd2;

 maintainers = with maintainers; [ sikmir ];

};

}

diff --git a/pkgs/tools/docker-reg-tool/default.nix b/pkgs/tools/docker-reg-tool/default.nix

index dd9384e29a7af036aed6cfc03ba5a3132efa1f86..1f80cd6470adec02d886a5aef7198bc39473e630 100644

--- a/pkgs/tools/docker-reg-tool/default.nix

+++ b/pkgs/tools/docker-reg-tool/default.nix

@@ -1,17 +1,16 @@

-{ stdenv, docker-reg-tool }:

+{ stdenv, sources }:

stdenv.mkDerivation rec {

pname = "docker-reg-tool";

version = stdenv.lib.substring 0 7 src.rev;

installPhase = ''

 install -Dm755 docker_reg_tool "$out/bin/docker_reg_tool"

'';

meta = with stdenv.lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.all;

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

index da97eafb97c7143fa4df279ef6b9215a4931f105..05af0964294d236982a7da697342819aa2e6e4ab 100644

--- a/pkgs/tools/elevation/default.nix

+++ b/pkgs/tools/elevation/default.nix

@@ -1,11 +1,11 @@

{ lib, buildPythonApplication, fasteners, future, appdirs, click

, gnumake, curl, unzip, gzip, gdal

-, pytest, pytest-mock, elevation }:

+, pytest, pytest-mock, sources }:

buildPythonApplication rec {

pname = "elevation";

version = lib.substring 0 7 src.rev;

propagatedBuildInputs = [ fasteners future appdirs click ];

@@ -28,8 +28,7 @@ checkInputs = [ pytest pytest-mock ];

checkPhase = "pytest";

meta = with lib; {

 license = licenses.asl20;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/tools/gpx-layer/default.nix b/pkgs/tools/gpx-layer/default.nix

index 6331a4de98c8f6f04a3a15da737910cd2b810467..8e371db7802da5bbe9cd5fbd1ee602dc72e787ed 100644

--- a/pkgs/tools/gpx-layer/default.nix

+++ b/pkgs/tools/gpx-layer/default.nix

@@ -1,9 +1,9 @@

-{ lib, buildPerlPackage, XMLParser, gpx-layer }:

+{ lib, buildPerlPackage, XMLParser, sources }:

buildPerlPackage rec {

pname = "gpx-layer";

version = lib.substring 0 7 src.rev;

outputs = [ "out" ];

@@ -19,8 +19,7 @@ install -Dm755 parse-gpx $out/bin/datamaps-parse-gpx

'';

meta = with lib; {

 license = licenses.free;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index 4e2e7fbe31d17921f12c242b830786bfec9ba947..58f8b8dc6a820a253cc5daf62ab4ea3378651604 100644

--- a/pkgs/tools/gpxtools/default.nix

+++ b/pkgs/tools/gpxtools/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, cmake, expat, gpxtools }:

+{ stdenv, cmake, expat, sources }:

stdenv.mkDerivation rec {

pname = "gpxtools";

version = stdenv.lib.substring 0 7 src.rev;

nativeBuildInputs = [ cmake ];

buildInputs = [ expat ];

@@ -13,10 +13,9 @@ install -Dm755 gpx* -t $out/bin

'';

meta = with stdenv.lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

};

}

diff --git a/pkgs/tools/gt-bash-client/default.nix b/pkgs/tools/gt-bash-client/default.nix

index ccda9ddfff1473e5e4ae9c308dce1de5e613963e..3d86c3ac3ad423684480f7b3e79b0cc1002a5d0f 100644

--- a/pkgs/tools/gt-bash-client/default.nix

+++ b/pkgs/tools/gt-bash-client/default.nix

@@ -1,17 +1,16 @@

-{ stdenv, gt-bash-client }:

+{ stdenv, sources }:

stdenv.mkDerivation rec {

pname = "gt-bash-client";

version = stdenv.lib.substring 0 7 src.rev;

installPhase = ''

 install -Dm755 translate.sh "$out/bin/gt-bash-client"

'';

meta = with stdenv.lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.all;

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

index 7cc2b9a524f8e54850b6db117e342dbda40b74eb..8c6e5aed16279386aaa1cca2a8ccdd4f5b32bf24 100644

--- a/pkgs/tools/gt4gd/default.nix

+++ b/pkgs/tools/gt4gd/default.nix

@@ -1,9 +1,9 @@

-{ lib, buildPythonApplication, requests, google-translate-for-goldendict }:

+{ lib, buildPythonApplication, requests, sources }:

buildPythonApplication rec {

pname = "gt4gd";

version = lib.substring 0 7 src.rev;

propagatedBuildInputs = [ requests ];

@@ -17,8 +17,7 @@ install -Dm644 google_translate.png $out/share/gt4gd/gt.png

'';

meta = with lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index bf76bd372a27e5a802d19ae4199daf3a602b9bd9..9811ff3568be187e2b6b7698f200b45612a7eee7 100644

--- a/pkgs/tools/lsdreader/default.nix

+++ b/pkgs/tools/lsdreader/default.nix

@@ -1,15 +1,14 @@

-{ lib, buildPythonApplication, lsdreader }:

+{ lib, buildPythonApplication, sources }:

buildPythonApplication rec {

pname = "lsdreader";

version = lib.substring 0 7 src.rev;

doCheck = false;

meta = with lib; {

 license = licenses.free;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index c9a20298c86e9813680f53b2e49b612b9044fc91..084a03e9c08f93a372dd333ee1ad3bc840abee7c 100644

--- a/pkgs/tools/mbutil/default.nix

+++ b/pkgs/tools/mbutil/default.nix

@@ -1,16 +1,15 @@

-{ lib, buildPythonApplication, nose, mbutil }:

+{ lib, buildPythonApplication, nose, sources }:

buildPythonApplication rec {

pname = "mbutil";

version = lib.substring 0 7 src.rev;

checkInputs = [ nose ];

checkPhase = "nosetests";

meta = with lib; {

 license = licenses.bsd3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index 988a41187d25f80dbb2c2030e8fc4cf4c58f9b0d..64727c36aa6d8621056a8692c10a1b0a8769b266 100644

--- a/pkgs/tools/openmtbmap_openvelomap_linux/default.nix

+++ b/pkgs/tools/openmtbmap_openvelomap_linux/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, gmaptool, mkgmap, p7zip, zsh, openmtbmap_openvelomap_linux }:

+{ stdenv, gmaptool, mkgmap, p7zip, zsh, sources }:

stdenv.mkDerivation rec {

pname = "openmtbmap_openvelomap_linux";

version = stdenv.lib.substring 0 7 src.rev;

patches = [ ./0001-fix-path.patch ];

@@ -21,8 +21,7 @@ install -Dm755 create_omtb_garmin_img.sh "$out/bin/create_omtb_garmin_img"

'';

meta = with stdenv.lib; {

 license = licenses.free;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.all;

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

index 954d459986b5332604916a236c810290f0c7bcfd..e4086d631c9bd179b1b0c845109995e25510fdaa 100644

--- a/pkgs/tools/stardict-tools/default.nix

+++ b/pkgs/tools/stardict-tools/default.nix

@@ -1,10 +1,10 @@

{ stdenv, autoconf, automake, libtool, pkg-config,

stdenv.mkDerivation rec {

pname = "stardict-tools";

version = stdenv.lib.substring 0 7 src.rev;

nativeBuildInputs = [

 autoconf

@@ -40,8 +40,7 @@

enableParallelBuilding = true;

meta = with stdenv.lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.linux;

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

index 012840a6ea4806e0504fbf5de2a58843a1e62cc7..abb58b64e268e10466aedfb01c2789b400d51120 100644

--- a/pkgs/tools/supermercado/default.nix

+++ b/pkgs/tools/supermercado/default.nix

@@ -1,10 +1,10 @@

{ lib, fetchpatch, buildPythonApplication

-, click-plugins, rasterio, mercantile, numpy, pytest, supermercado }:

+, click-plugins, rasterio, mercantile, numpy, pytest, sources }:

buildPythonApplication rec {

pname = "supermercado";

version = lib.substring 0 7 src.rev;

patches = [

 # Replace np subtract operator https://github.com/mapbox/supermercado/pull/27

@@ -20,8 +20,7 @@ checkInputs = [ pytest ];

checkPhase = "pytest";

meta = with lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

index 84db9a03bc6ed61b0ba1412b3a481136cb0957ad..1c4679ca5e8ca708afb114ad031c4478f2590a7d 100644

--- a/pkgs/tools/supload/default.nix

+++ b/pkgs/tools/supload/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, curl, file, coreutils, supload }:

+{ stdenv, curl, file, coreutils, sources }:

stdenv.mkDerivation rec {

pname = "supload";

version = stdenv.lib.substring 0 7 src.rev;

buildInputs = [ curl file ];

@@ -22,8 +22,7 @@ install -Dm755 supload.sh $out/bin/supload

'';

meta = with stdenv.lib; {

 license = licenses.gpl3;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

diff --git a/pkgs/tools/text/csvquote/default.nix b/pkgs/tools/text/csvquote/default.nix

index f5945d728022bd97d4408a791e5c1672a76e68c8..d017a36ebd3bec730f7cfd21889e79aca85b505d 100644

--- a/pkgs/tools/text/csvquote/default.nix

+++ b/pkgs/tools/text/csvquote/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, csvquote }:

+{ stdenv, sources }:

stdenv.mkDerivation rec {

pname = "csvquote";

version = stdenv.lib.substring 0 7 src.rev;

makeFlags = [ "BINDIR=$(out)/bin" ];

@@ -12,10 +12,9 @@ mkdir -p "$out/bin"

'';

meta = with stdenv.lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

};

}

diff --git a/pkgs/tools/text/csvtools/default.nix b/pkgs/tools/text/csvtools/default.nix

index 1f20b3385e373bcfc2b07896b9324e47b5e848e4..d786f9752c72818e37de026e4eef0bad5bc4a913 100644

--- a/pkgs/tools/text/csvtools/default.nix

+++ b/pkgs/tools/text/csvtools/default.nix

@@ -1,9 +1,9 @@

-{ stdenv, pcre, openssl, csvtools }:

+{ stdenv, pcre, openssl, sources }:

stdenv.mkDerivation rec {

pname = "csvtools";

version = stdenv.lib.substring 0 7 src.rev;

buildInputs = [ pcre ];

@@ -22,10 +22,9 @@ mkdir -p "$out/bin"

'';

meta = with stdenv.lib; {

 license = licenses.mit;

 maintainers = with maintainers; [ sikmir ];

};

}

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

index d9378da59c053e80adf93c0733c80372ff3964c5..27465d6f829a532d35c0a94e6e36e0326ea32227 100644

--- a/pkgs/tools/tpkutils/default.nix

+++ b/pkgs/tools/tpkutils/default.nix

@@ -1,9 +1,9 @@

-{ lib, buildPythonApplication, mercantile, pymbtiles, pytest, setuptools, six, tpkutils }:

+{ lib, buildPythonApplication, mercantile, pymbtiles, pytest, setuptools, six, sources }:

buildPythonApplication rec {

pname = "tpkutils";

version = lib.substring 0 7 src.rev;

propagatedBuildInputs = [ mercantile pymbtiles setuptools six ];

@@ -11,8 +11,7 @@ checkInputs = [ pytest ];

checkPhase = "pytest";

meta = with lib; {

 license = licenses.isc;

 maintainers = with maintainers; [ sikmir ];

 platforms = platforms.unix;

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

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