8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
36 lines
708 B
Nix
36 lines
708 B
Nix
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
|
|
|
|
with pythonPackages;
|
|
|
|
let
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
in buildPythonPackage rec {
|
|
pname = "tasklib";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "19yra86g3wz2xgk22dnrjjh3gla969vb8jrps5rf0cdmsm9qqisv";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
pytz
|
|
tzlocal
|
|
];
|
|
|
|
checkInputs = [
|
|
taskwarrior
|
|
wsl_stub
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/robgolding/tasklib";
|
|
description = "A library for interacting with taskwarrior databases";
|
|
maintainers = with maintainers; [ arcnmx ];
|
|
platforms = platforms.all;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|