nixpkgs/pkgs/development/python-modules/tasklib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
815 B
Nix
Raw Normal View History

{ lib
, pythonPackages
2023-05-25 18:37:59 +00:00
, fetchPypi
, taskwarrior
, writeShellScriptBin
}:
2019-10-15 17:09:48 +00:00
with pythonPackages;
let
wsl_stub = writeShellScriptBin "wsl" "true";
in buildPythonPackage rec {
pname = "tasklib";
version = "2.5.1";
2019-10-15 17:09:48 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-XM1zG1JjbdEEV6i42FjLDQJv+qsePnUbr3kb+APjfXs=";
2019-10-15 17:09:48 +00:00
};
propagatedBuildInputs = [
six
pytz
tzlocal
];
nativeCheckInputs = [
2019-10-15 17:09:48 +00:00
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}";
2019-10-15 17:09:48 +00:00
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
license = licenses.bsd3;
};
}