Files
nixpkgs/pkgs/development/python-modules/area/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
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>
2025-12-10 19:01:23 +01:00

26 lines
552 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
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 Mapboxs geojson-area for Python";
homepage = "https://github.com/scisco/area";
license = lib.licenses.bsd2;
};
}