about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/area/default.nix
blob: 3057bf1eb805fe0d4f3ee6eb3275e8f47d6da4f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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;
  };
}