tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sunwait: 2020-10-26 -> 0.9.1
Elis Hirwing
2 years ago
7926d40a
856fd331
+10
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
sunwait
default.nix
+10
-9
pkgs/applications/misc/sunwait/default.nix
···
1
1
{ lib, stdenv, fetchFromGitHub }:
2
2
3
3
-
stdenv.mkDerivation {
3
3
+
stdenv.mkDerivation (finalAttrs: {
4
4
pname = "sunwait";
5
5
-
version = "2020-10-26";
5
5
+
version = "0.9.1";
6
6
7
7
src = fetchFromGitHub {
8
8
owner = "risacher";
9
9
repo = "sunwait";
10
10
-
rev = "102cb417ecbb7a3757ba9ee4b94d6db3225124c4";
11
11
-
sha256 = "0cs8rdcnzsl10zia2k49a6c2z6gvp5rnf31sgn3hn5c7kgy7l3ax";
10
10
+
rev = finalAttrs.version;
11
11
+
hash = "sha256-v2cNjecJ4SstOsvDe/Lu0oOyBd8I8LMHZIH+f9ZC7Fc=";
12
12
};
13
13
14
14
makeFlags = [ "C=${stdenv.cc.targetPrefix}c++" ];
···
17
17
install -Dm755 sunwait -t $out/bin
18
18
'';
19
19
20
20
-
meta = with lib; {
20
20
+
meta = {
21
21
description = "Calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights";
22
22
homepage = "https://github.com/risacher/sunwait";
23
23
-
license = licenses.gpl3Only;
24
24
-
maintainers = with maintainers; [ ];
25
25
-
platforms = platforms.all;
23
23
+
license = lib.licenses.gpl3Only;
24
24
+
maintainers = with lib.maintainers; [ eclairevoyant ];
25
25
+
mainProgram = "sunwait";
26
26
+
platforms = lib.platforms.all;
26
27
};
27
27
-
}
28
28
+
})