2015-01-16 17:17:35 +01:00
|
|
|
{ stdenv, cmake, fetchurl, ncurses }:
|
2015-01-15 22:20:42 +01:00
|
|
|
|
|
|
|
let
|
2016-02-02 21:23:07 +01:00
|
|
|
version = "1.2";
|
2015-01-15 22:20:42 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ctodo-${version}";
|
|
|
|
|
2015-01-16 17:17:35 +01:00
|
|
|
src = fetchurl {
|
2016-02-02 21:23:07 +01:00
|
|
|
url = "https://github.com/Acolarh/ctodo/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0kjd84q8aw238z09yz9n1p732fh08vijaf8bk1xqlx544cgyfcjm";
|
2015-01-15 22:20:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ stdenv cmake ncurses ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$out .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://ctodo.apakoh.dk/;
|
2015-04-28 10:54:58 +02:00
|
|
|
description = "A simple ncurses-based task list manager";
|
2015-01-15 22:20:42 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
2015-01-16 17:18:06 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-01-15 22:20:42 +01:00
|
|
|
};
|
|
|
|
}
|