nur-packages

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

commit 398f23958cf0da5b2c1e8f6493a7c4371d8a1a7b
parent 825156c699a35c57190386636db07782a114807a
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 22 May 2022 15:32:56 +0300

Add starlette-cramjam

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/starlette-cramjam/default.nix | 28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -191,6 +191,7 @@ lib.makeScope newScope ( rio-mucho = callPackage ./geospatial/rio-mucho { }; rio-tiler = callPackage ./geospatial/rio-tiler { }; sasplanet-bin = callPackage ./geospatial/sasplanet/bin.nix { }; + starlette-cramjam = callPackage ./geospatial/starlette-cramjam { }; supermercado = callPackage ./geospatial/supermercado { }; tdh = callPackage ./geospatial/tdh { }; tile-stitch = callPackage ./geospatial/tile-stitch { }; diff --git a/pkgs/geospatial/starlette-cramjam/default.nix b/pkgs/geospatial/starlette-cramjam/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "starlette-cramjam"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "developmentseed"; + repo = pname; + rev = version; + hash = "sha256-aCZnXsCkzq278aAj4QNz2gSIVWGn1IsL2QG9TAaNWg0="; + }; + + propagatedBuildInputs = with python3Packages; [ + starlette + cramjam + typing-extensions + ]; + + checkInputs = with python3Packages; [ pytestCheckHook ]; + + meta = with lib; { + description = "Cramjam integration for Starlette ASGI framework"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + }; +}