blob: baa1baced4f49e05bb8b03d9a0b53fb22b4801c9 (
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
|
{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
buildNpmPackage (finalAttrs: {
pname = "taskbook";
version = "0.3.0";
src = fetchFromGitHub {
owner = "klaudiosinani";
repo = "taskbook";
tag = "v${finalAttrs.version}";
hash = "sha256-LL9v7uRYbthK0riN6DKannABlhNWaG880Yp8egmwBJ4=";
};
dontNpmBuild = true;
dontNpmPrune = true;
npmDepsHash = "sha256-4YZHn7CPQHoGfy0CqD96btlctJfIT3NnUQ47PWot6Ok=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
meta = {
description = "Tasks, boards & notes for the command-line habitat";
homepage = "https://github.com/klaudiosinani/taskbook";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ skohtv ];
mainProgram = "tb";
};
})
|