12 src = fetchFromGitHub {
13 owner = "manojkarthick";
16 sha256 = "sha256-sqsogF2swMvYZL7Kj+ealrB1AAgIe7ZXXDLRdHL6Q+0=";
19 vendorHash = "sha256-rIcwZUOi6bdfiWZEsRF4kl1reNPPQNuBPHDOo7RQgYo=";
21 # package does not contain any tests as of v0.2.3
24 nativeBuildInputs = [ installShellFiles ];
26 buildInputs = [ sqlite ];
29 "-s" "-w" "-X github.com/manojkarthick/expenses/cmd.Version=${version}"
33 installShellCompletion --cmd expenses \
34 --bash <($out/bin/expenses completion bash) \
35 --zsh <($out/bin/expenses completion zsh) \
36 --fish <($out/bin/expenses completion fish)
40 description = "An interactive command line expense logger";
41 license = licenses.mit;
42 maintainers = [ maintainers.manojkarthick ];