sunwait: 2020-10-26 -> 0.9.1

This commit is contained in:
Elis Hirwing 2023-09-20 09:23:00 +02:00
parent 856fd3317b
commit 7926d40acd
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "sunwait";
version = "2020-10-26";
version = "0.9.1";
src = fetchFromGitHub {
owner = "risacher";
repo = "sunwait";
rev = "102cb417ecbb7a3757ba9ee4b94d6db3225124c4";
sha256 = "0cs8rdcnzsl10zia2k49a6c2z6gvp5rnf31sgn3hn5c7kgy7l3ax";
rev = finalAttrs.version;
hash = "sha256-v2cNjecJ4SstOsvDe/Lu0oOyBd8I8LMHZIH+f9ZC7Fc=";
};
makeFlags = [ "C=${stdenv.cc.targetPrefix}c++" ];
@ -17,11 +17,12 @@ stdenv.mkDerivation {
install -Dm755 sunwait -t $out/bin
'';
meta = with lib; {
meta = {
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; [ ];
platforms = platforms.all;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ eclairevoyant ];
mainProgram = "sunwait";
platforms = lib.platforms.all;
};
}
})