nixpkgs/pkgs/development/python-modules/sgp4/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

22 lines
544 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy }:
buildPythonPackage rec {
pname = "sgp4";
version = "2.21";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-YXm4dQRId+lBYzwgr3ci/SMaiNiomvAb8wvWTzPN7O8=";
};
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 ];
};
}