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