1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "area";
9 version = "1.1.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "18k5hwmlxhajlq306zxndsglb11vv8vd4vpmwx8dpvfxd1kbksya";
15 };
16
17 # tests not working on the package from pypi
18 doCheck = false;
19
20 meta = with lib; {
21 description = "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python";
22 homepage = "https://github.com/scisco/area";
23 license = licenses.bsd2;
24 };
25}