about summary refs log tree commit diff
path: root/pkgs/applications/misc/ctodo/default.nix
blob: 16c1ac90aea94560cb3f18569a46c3ea6ef5f09c (plain) (blame)
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
{ lib, stdenv, fetchFromGitHub, cmake, ncurses, readline }:

stdenv.mkDerivation rec {
  pname = "ctodo";
  version = "1.3";

  src = fetchFromGitHub {
    owner = "Acolarh";
    repo = pname;
    rev = "v${version}";
    sha256 = "0mqy5b35cbdwfpbs91ilsgz3wc4cky38xfz9pnr4q88q1vybigna";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ ncurses readline ];

  meta = with lib; {
    homepage = "http://ctodo.apakoh.dk/";
    description = "Simple ncurses-based task list manager";
    license = licenses.mit;
    maintainers = [ maintainers.matthiasbeyer ];
    platforms = platforms.unix;
    mainProgram = "ctodo";
  };
}