2024-06-05 15:53:02 +00:00
|
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildPythonPackage,
|
|
|
|
|
fetchPypi,
|
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "area";
|
|
|
|
|
version = "1.1.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
|
|
|
|
sha256 = "18k5hwmlxhajlq306zxndsglb11vv8vd4vpmwx8dpvfxd1kbksya";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# tests not working on the package from pypi
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
|
description = "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
homepage = "https://github.com/scisco/area";
|
|
|
|
|
license = licenses.bsd2;
|
|
|
|
|
};
|
|
|
|
|
}
|