tzupdate: init at 1.2.0
This commit is contained in:
parent
00e56fbbee
commit
922bd8182e
24
pkgs/applications/misc/tzupdate/default.nix
Normal file
24
pkgs/applications/misc/tzupdate/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, python }:
|
||||
|
||||
let
|
||||
inherit (python.pkgs) buildPythonApplication fetchPypi requests;
|
||||
in
|
||||
buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "tzupdate";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wj2r1wirnn5kllaasdldimvp3cc3w7w890iqrjksz5wwjbnj8pk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Update timezone information based on geoip.";
|
||||
homepage = https://github.com/cdown/tzupdate;
|
||||
maintainers = [ maintainers.michaelpj ];
|
||||
license = licenses.unlicense;
|
||||
};
|
||||
}
|
|
@ -4635,6 +4635,8 @@ with pkgs;
|
|||
|
||||
timetrap = callPackage ../applications/office/timetrap { };
|
||||
|
||||
tzupdate = callPackage ../applications/misc/tzupdate { };
|
||||
|
||||
tinc = callPackage ../tools/networking/tinc { };
|
||||
|
||||
tie = callPackage ../development/tools/misc/tie { };
|
||||
|
|
Loading…
Reference in a new issue