blob: 2ac2726523d039dfff89afad70f3943d98805c03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildNpmPackage,
fetchFromGitHub,
testers,
todoist-cli,
}:
buildNpmPackage rec {
pname = "todoist-cli";
version = "5.2.1";
src = fetchFromGitHub {
owner = "Doist";
repo = "todoist-cli";
rev = "v${version}";
sha256 = "sha256-RYk1MSL15dt8aTeRxNPcVNYXnaDRURiITfMEBqR4DIA=";
};
npmDepsHash = "sha256-JDFKNVm8G/s4fVsXjKzh0DWmqXDbTJ7huv3LO5mq+rU=";
doCheck = true;
__structuredAttrs = true;
passthru.tests.version = testers.testVersion {
package = todoist-cli;
};
meta = {
description = "A command-line interface for Todoist";
homepage = "https://github.com/Doist/todoist-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ joaosreis ];
mainProgram = "td";
};
}
|