bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
25 lines
558 B
Nix
25 lines
558 B
Nix
{
|
||
lib,
|
||
buildPythonPackage,
|
||
fetchPypi,
|
||
}:
|
||
|
||
buildPythonPackage rec {
|
||
pname = "area";
|
||
version = "1.1.1";
|
||
format = "setuptools";
|
||
|
||
src = fetchPypi {
|
||
inherit pname version;
|
||
sha256 = "18k5hwmlxhajlq306zxndsglb11vv8vd4vpmwx8dpvfxd1kbksya";
|
||
};
|
||
|
||
# tests not working on the package from pypi
|
||
doCheck = false;
|
||
|
||
meta = with lib; {
|
||
description = "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python";
|
||
homepage = "https://github.com/scisco/area";
|
||
license = licenses.bsd2;
|
||
};
|
||
}
|