567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
26 lines
552 B
Nix
26 lines
552 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 = {
|
||
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 = lib.licenses.bsd2;
|
||
};
|
||
}
|