nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 1ac96e0179c4244e475fbc00da9bdb40d024137f
parent d68875d9ea6ba82c6b8c84381b83da3c09a1916f
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri, 11 Dec 2020 23:15:38 +0300

Add fetchymaps

Diffstat:
Apkgs/build-support/fetchymaps/default.nix | 11+++++++++++
Mpkgs/default.nix | 1+
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/pkgs/build-support/fetchymaps/default.nix b/pkgs/build-support/fetchymaps/default.nix @@ -0,0 +1,11 @@ +{ fetchurl }: + +{ um, ... } @ args: + +( + fetchurl ( + { + url = "https://yandex.ru/maps/export/usermaps/${um}"; + } // removeAttrs args [ "um" ] + ) +) diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -56,6 +56,7 @@ lib.makeScope newScope ( fetchfromgh = callPackage ./build-support/fetchfromgh { }; fetchgdrive = callPackage ./build-support/fetchgdrive { }; fetchwebarchive = callPackage ./build-support/fetchwebarchive { }; + fetchymaps = callPackage ./build-support/fetchymaps { }; ### DATA