mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
37 lines
718 B
Nix
37 lines
718 B
Nix
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
|
|
|
|
with pythonPackages;
|
|
|
|
let
|
|
|
|
wsl_stub = writeShellScriptBin "wsl" "true";
|
|
|
|
in buildPythonPackage rec {
|
|
pname = "tasklib";
|
|
version = "1.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3964fb7e87f86dc5e2708addb67e69d0932534991991b6bae2e37a0c2059273f";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|