nur-packages

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

commit b908374bb73d1253130759bab8241cef351835f5
parent df0d04d5dcc802846d1a1fd96f3000840593ad12
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu,  6 May 2021 23:11:44 +0300

Fix tilesets-cli

Diffstat:
Mpkgs/tools/geo/tilesets-cli/default.nix | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/pkgs/tools/geo/tilesets-cli/default.nix b/pkgs/tools/geo/tilesets-cli/default.nix @@ -11,6 +11,8 @@ python3Packages.buildPythonApplication rec { hash = "sha256-nAI5mwXlJ8JKUna+2dNwMnfEJuQqTrrXW10slNkjv9w="; }; + postPatch = "sed -i 's/~=.*\"/\"/' setup.py"; + propagatedBuildInputs = with python3Packages; [ boto3 click cligj requests requests-toolbelt @@ -20,6 +22,8 @@ python3Packages.buildPythonApplication rec { checkInputs = with python3Packages; [ pytestCheckHook ]; + installCheckPhase = "$out/bin/tilesets --version"; + meta = with lib; { description = "CLI for interacting with the Mapbox Tilesets API"; homepage = "https://docs.mapbox.com/mapbox-tiling-service";