sunwait: init at 20201026
This commit is contained in:
parent
be003e3a62
commit
19f6178977
25
pkgs/applications/misc/sunwait/default.nix
Normal file
25
pkgs/applications/misc/sunwait/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "sunwait";
|
||||
version = "2020-10-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "risacher";
|
||||
repo = "sunwait";
|
||||
rev = "102cb417ecbb7a3757ba9ee4b94d6db3225124c4";
|
||||
sha256 = "0cs8rdcnzsl10zia2k49a6c2z6gvp5rnf31sgn3hn5c7kgy7l3ax";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 sunwait -t $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights";
|
||||
homepage = "https://github.com/risacher/sunwait";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ etu ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -8192,6 +8192,8 @@ in
|
||||
|
||||
stubby = callPackage ../tools/networking/stubby { };
|
||||
|
||||
sunwait = callPackage ../applications/misc/sunwait { };
|
||||
|
||||
surface-control = callPackage ../applications/misc/surface-control { };
|
||||
|
||||
syntex = callPackage ../tools/graphics/syntex {};
|
||||
|
Loading…
Reference in New Issue
Block a user