9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
42 lines
815 B
Nix
42 lines
815 B
Nix
{ lib
|
|
, pythonPackages
|
|
, fetchPypi
|
|
, taskwarrior
|
|
, writeShellScriptBin
|
|
}:
|
|
|
|
with pythonPackages;
|
|
|
|
let
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
in buildPythonPackage rec {
|
|
pname = "tasklib";
|
|
version = "2.5.1";
|
|
|
|
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;
|
|
};
|
|
}
|