2023-04-15 14:08:38 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2022-04-17 12:54:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "sgp4";
|
2023-04-15 14:08:38 +01:00
|
|
|
version = "unstable-2022-11-13";
|
2022-04-17 12:54:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dnwrnr";
|
|
|
|
repo = "sgp4";
|
2023-04-15 14:08:38 +01:00
|
|
|
rev = "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91";
|
|
|
|
hash = "sha256-gfJQOLhys5wKzZCxFVqbo+5l7jPeGPzrvYsdZKPSCJc=";
|
2022-04-17 12:54:46 +01: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-12 20:21:49 +00:00
|
|
|
platforms = platforms.unix;
|
2022-04-17 12:54:46 +01:00
|
|
|
};
|
|
|
|
}
|