1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/applications/misc/tzupdate/default.nix
2021-01-25 18:31:47 +01:00

24 lines
565 B
Nix

{ lib, python3 }:
let
inherit (python3.pkgs) buildPythonApplication fetchPypi requests;
in
buildPythonApplication rec {
pname = "tzupdate";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "5b55795c390e4ccc90e649c8cc387447daaf30a21d68f7196b49824cbcba8adc";
};
propagatedBuildInputs = [ requests ];
meta = with lib; {
description = "Update timezone information based on geoip";
homepage = "https://github.com/cdown/tzupdate";
maintainers = [ maintainers.michaelpj ];
license = licenses.unlicense;
};
}