159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
42 lines
842 B
Nix
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;
|
|
};
|
|
}
|