nur-packages

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

commit fa764f9976f4d1b6168ed1e0e60cfd1f26b552da
parent e4a720de416d46fc3e1c29875a2da5f5911888f0
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu,  2 Jun 2022 21:36:21 +0300

Add apispec-webframeworks

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/apispec-webframeworks/default.nix | 33+++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -161,6 +161,7 @@ lib.makeScope newScope ( ### GEOSPATIAL + apispec-webframeworks = callPackage ./geospatial/apispec-webframeworks { }; arcgis2geojson = callPackage ./geospatial/arcgis2geojson { }; cogeo-mosaic = callPackage ./geospatial/cogeo-mosaic { }; datamaps = callPackage ./geospatial/datamaps { }; diff --git a/pkgs/geospatial/apispec-webframeworks/default.nix b/pkgs/geospatial/apispec-webframeworks/default.nix @@ -0,0 +1,33 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "apispec-webframeworks"; + version = "0.5.2"; + disabled = python3Packages.pythonOlder "3.6"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-DbNbJnkUs/jFYqygJhlX28tBdvJV6swiUgJ3AQgY3PM="; + }; + + propagatedBuildInputs = with python3Packages; [ + apispec + ]; + + checkInputs = with python3Packages; [ + pytestCheckHook + mock + flask + tornado + bottle + ]; + + pythonImportsCheck = [ "apispec_webframeworks" ]; + + meta = with lib; { + description = "apispec plugin for integrating with various web frameworks"; + homepage = "https://github.com/marshmallow-code/apispec-webframeworks"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + }; +}