depot/third_party/nixpkgs/pkgs/development/python-modules/tasklib/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
848 B
Nix

{
lib,
pythonPackages,
fetchPypi,
taskwarrior,
writeShellScriptBin,
}:
with pythonPackages;
let
wsl_stub = writeShellScriptBin "wsl" "true";
in
buildPythonPackage rec {
pname = "tasklib";
version = "2.5.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-XM1zG1JjbdEEV6i42FjLDQJv+qsePnUbr3kb+APjfXs=";
};
propagatedBuildInputs = [
six
pytz
tzlocal
];
nativeCheckInputs = [
taskwarrior
wsl_stub
];
meta = with lib; {
homepage = "https://github.com/robgolding/tasklib";
description = "Library for interacting with taskwarrior databases";
changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}";
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
license = licenses.bsd3;
};
}