2015-01-16 16:17:35 +00:00
|
|
|
{ stdenv, cmake, fetchurl, ncurses }:
|
2015-01-15 21:20:42 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "1.1";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ctodo-${version}";
|
|
|
|
|
2015-01-16 16:17:35 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Acolarh/ctodo/archive/v1.1.tar.gz";
|
|
|
|
sha256 = "1sv5p1b08pp73qshakz4qy4pjglxz2pvx2cjfx52i3532hd3xcaf";
|
2015-01-15 21:20:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ stdenv cmake ncurses ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$out .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://ctodo.apakoh.dk/";
|
|
|
|
description = "A simple ncurses-based task list manager.";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
2015-01-16 16:18:06 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-15 21:20:42 +00:00
|
|
|
};
|
|
|
|
}
|