3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/uptimed/default.nix
R. RyanTM a597c0de06 uptimed: 0.4.0 -> 0.4.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/uptimed/versions.

These checks were done:

- built on NixOS
- /nix/store/3g4ks4j5qpbmaz77h94cq00rb09bw4nx-uptimed-0.4.1/bin/uprecords passed the binary check.
- /nix/store/3g4ks4j5qpbmaz77h94cq00rb09bw4nx-uptimed-0.4.1/bin/uptimed passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 0.4.1 with grep in /nix/store/3g4ks4j5qpbmaz77h94cq00rb09bw4nx-uptimed-0.4.1
- directory tree listing: https://gist.github.com/e0050389ab1f978da6cea6fdba7a6c1b
- du listing: https://gist.github.com/8ad3f0b88db5b50f78bfff19c91cee6b
2018-06-18 22:44:18 -07:00

31 lines
923 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "uptimed-${version}";
version = "0.4.1";
src = fetchFromGitHub {
sha256 = "0hqs7n3agayckwdgwadzw5shpdh4h1inqgvp4zr5fi324pj5x80j";
rev = "v${version}";
repo = "uptimed";
owner = "rpodgorny";
};
nativeBuildInputs = [ autoreconfHook ];
patches = [ ./no-var-spool-install.patch ];
meta = with stdenv.lib; {
description = "Uptime record daemon";
longDescription = ''
An uptime record daemon keeping track of the highest uptimes a computer
system ever had. It uses the system boot time to keep sessions apart from
each other. Uptimed comes with a console front-end to parse the records,
which can also easily be used to show your records on a web page.
'';
homepage = https://github.com/rpodgorny/uptimed/;
license = licenses.gpl2;
platforms = platforms.linux;
};
}