2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "sgp4";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "unstable-2022-11-13";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dnwrnr";
|
|
|
|
repo = "sgp4";
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91";
|
|
|
|
hash = "sha256-gfJQOLhys5wKzZCxFVqbo+5l7jPeGPzrvYsdZKPSCJc=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simplified perturbations models library";
|
|
|
|
homepage = "https://github.com/dnwrnr/sgp4";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ alexwinter ];
|
2023-03-24 00:07:29 +00:00
|
|
|
platforms = platforms.unix;
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
}
|