depot/third_party/nixpkgs/pkgs/by-name/sg/sgp4/package.nix

28 lines
606 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation {
pname = "sgp4";
version = "unstable-2022-11-13";
src = fetchFromGitHub {
owner = "dnwrnr";
repo = "sgp4";
rev = "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91";
hash = "sha256-gfJQOLhys5wKzZCxFVqbo+5l7jPeGPzrvYsdZKPSCJc=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Simplified perturbations models library";
homepage = "https://github.com/dnwrnr/sgp4";
license = licenses.asl20;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.unix;
};
}