nixpkgs/pkgs/development/python-modules/area/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

21 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 = with lib; {
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 = licenses.bsd2;
};
}