nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation {
9 pname = "sgp4";
10 version = "unstable-2022-11-13";
11
12 src = fetchFromGitHub {
13 owner = "dnwrnr";
14 repo = "sgp4";
15 rev = "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91";
16 hash = "sha256-gfJQOLhys5wKzZCxFVqbo+5l7jPeGPzrvYsdZKPSCJc=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = with lib; {
22 description = "Simplified perturbations models library";
23 homepage = "https://github.com/dnwrnr/sgp4";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ alexwinter ];
26 platforms = platforms.unix;
27 };
28}