Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tasklib / default.nix
blob126ea75f6a51cf2f17395df3054a6b9be621806f
1 { lib
2 , pythonPackages
3 , fetchPypi
4 , taskwarrior
5 , writeShellScriptBin
6 }:
8 with pythonPackages;
10 let
12 wsl_stub = writeShellScriptBin "wsl" "true";
14 in buildPythonPackage rec {
15   pname = "tasklib";
16   version = "2.5.1";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-XM1zG1JjbdEEV6i42FjLDQJv+qsePnUbr3kb+APjfXs=";
21   };
23   propagatedBuildInputs = [
24     six
25     pytz
26     tzlocal
27   ];
29   nativeCheckInputs = [
30     taskwarrior
31     wsl_stub
32   ];
34   meta = with lib; {
35     homepage = "https://github.com/robgolding/tasklib";
36     description = "Library for interacting with taskwarrior databases";
37     changelog = "https://github.com/GothenburgBitFactory/tasklib/releases/tag/${version}";
38     maintainers = with maintainers; [ arcnmx ];
39     platforms = platforms.all;
40     license = licenses.bsd3;
41   };