suncalc 0.4.0

Calculate the position of the sun and sunlight phases.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let
  pkgs    = import <nixpkgs> {};
  stdenv  = pkgs.stdenv;
  lib     = pkgs.lib;

in rec {
  devEnv = stdenv.mkDerivation rec {
    name = "rust-sun-dev-env";
    src = ./.;
    buildInputs = with pkgs; [
      git
      rustPlatform.rustc
      cargo
    ];
  };
}