nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 cmake,
6 readline,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "tasksh";
11 version = "1.2.0";
12
13 src = fetchurl {
14 url = "https://taskwarrior.org/download/${pname}-${version}.tar.gz";
15 sha256 = "1z8zw8lld62fjafjvy248dncjk0i4fwygw0ahzjdvyyppx4zjhkf";
16 };
17
18 buildInputs = [ readline ];
19 nativeBuildInputs = [ cmake ];
20
21 meta = with lib; {
22 description = "REPL for taskwarrior";
23 homepage = "http://tasktools.org";
24 license = licenses.mit;
25 maintainers = with maintainers; [ matthiasbeyer ];
26 platforms = platforms.unix;
27 mainProgram = "tasksh";
28 };
29}