depot/third_party/nixpkgs/pkgs/by-name/un/undertime/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

47 lines
1.2 KiB
Nix

{ lib
, python3Packages
, fetchFromGitLab
}:
python3Packages.buildPythonApplication rec {
pname = "undertime";
version = "4.0.0";
pyproject = true;
src = fetchFromGitLab {
owner = "anarcat";
repo = pname;
rev = version;
hash = "sha256-BshgSnYaeX01KQ1fggB+yXEfg3Trhpcf/k4AmBDPxy8=";
};
nativeBuildInputs = with python3Packages; [
setuptools
setuptools-scm
];
propagatedBuildInputs = with python3Packages; [
dateparser
ephem
pytz
pyyaml
termcolor
tabulate
tzlocal
];
meta = {
changelog = "https://gitlab.com/anarcat/undertime/-/raw/${version}/debian/changelog";
description = "pick a meeting time across timezones from the commandline";
homepage = "https://gitlab.com/anarcat/undertime";
longDescription = ''
Undertime draws a simple 24 hour table of matching times across
different timezones or cities, outlining waking hours. This allows
picking an ideal meeting date across multiple locations for teams
working internationally.
'';
license = lib.licenses.agpl3Only;
mainProgram = "undertime";
maintainers = with lib.maintainers; [ dvn0 ];
};
}