about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sgp4/default.nix
blob: b2095e93aa11b8db281210a69c81c19dfa42c530 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}