depot/third_party/nixpkgs/pkgs/development/python-modules/tasklib/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

42 lines
842 B
Nix

{
lib,
buildPythonPackage,
six,
pytz,
tzlocal,
fetchPypi,
taskwarrior2,
writeShellScriptBin,
}:
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 = [
taskwarrior2
# stub
(writeShellScriptBin "wsl" "true")
];
meta = {
homepage = "https://github.com/robgolding/tasklib";
description = "Library for interacting with taskwarrior databases";
changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}";
maintainers = with lib.maintainers; [ arcnmx ];
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
};
}