nixpkgs/pkgs/development/python-modules/sgp4/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

23 lines
567 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy }:
buildPythonPackage rec {
pname = "sgp4";
version = "2.23";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-2K3cU6L7n4je5r/UAdKGWwFMwLV78s7mm97o2WhdVCk=";
};
nativeCheckInputs = [ numpy ];
pythonImportsCheck = [ "sgp4" ];
meta = with lib; {
homepage = "https://github.com/brandon-rhodes/python-sgp4";
description = "Python version of the SGP4 satellite position library";
license = licenses.mit;
maintainers = with maintainers; [ zane ];
};
}