nur-packages

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

commit 9d45b98b9a69d1f15f161439a79187ee917dcd6d
parent deff672750013e426e62b1ea8918ce8eda82b134
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Fri, 17 Jun 2022 01:30:19 +0300

Add c2cwsgiutils

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

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -163,6 +163,7 @@ lib.makeScope newScope ( apispec-webframeworks = callPackage ./geospatial/apispec-webframeworks { }; arcgis2geojson = callPackage ./geospatial/arcgis2geojson { }; + c2cwsgiutils = callPackage ./geospatial/c2cwsgiutils { }; cogeo-mosaic = callPackage ./geospatial/cogeo-mosaic { }; datamaps = callPackage ./geospatial/datamaps { }; elevation = callPackage ./geospatial/elevation { diff --git a/pkgs/geospatial/c2cwsgiutils/default.nix b/pkgs/geospatial/c2cwsgiutils/default.nix @@ -0,0 +1,33 @@ +{ lib, fetchFromGitHub, python3Packages, pipfile }: + +python3Packages.buildPythonPackage rec { + pname = "c2cwsgiutils"; + version = "5.0.0"; + + src = fetchFromGitHub { + owner = "camptocamp"; + repo = pname; + rev = version; + hash = "sha256-O+uh+9NurjnohCbpxJxrpvUUkb1gPHsqvG7+F4WNjQg="; + }; + + propagatedBuildInputs = with python3Packages; [ + boltons + lxml + netifaces + pipfile + psycopg2 + pyramid + requests + ]; + + doCheck = false; + pythonImportsCheck = [ "c2cwsgiutils" ]; + + meta = with lib; { + description = "Common utilities for Camptocamp WSGI applications"; + inherit (src.meta) homepage; + license = licenses.bsd2; + maintainers = [ maintainers.sikmir ]; + }; +}