depot/third_party/nixpkgs/pkgs/applications/misc/tasksh/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

23 lines
596 B
Nix

{ lib, stdenv, fetchurl, cmake, readline }:
stdenv.mkDerivation rec {
pname = "tasksh";
version = "1.2.0";
src = fetchurl {
url = "https://taskwarrior.org/download/${pname}-${version}.tar.gz";
sha256 = "1z8zw8lld62fjafjvy248dncjk0i4fwygw0ahzjdvyyppx4zjhkf";
};
buildInputs = [ readline ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "REPL for taskwarrior";
homepage = "http://tasktools.org";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.unix;
mainProgram = "tasksh";
};
}