2017-09-13 16:29:47 +00:00
|
|
|
{ stdenv, cmake, fetchurl, ncurses, readline }:
|
2015-01-15 21:20:42 +00:00
|
|
|
|
2017-09-13 16:29:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ctodo";
|
2017-09-13 16:29:47 +00:00
|
|
|
version = "1.3";
|
2015-01-15 21:20:42 +00:00
|
|
|
|
2015-01-16 16:17:35 +00:00
|
|
|
src = fetchurl {
|
2016-02-02 20:23:07 +00:00
|
|
|
url = "https://github.com/Acolarh/ctodo/archive/v${version}.tar.gz";
|
2017-09-13 16:29:47 +00:00
|
|
|
sha256 = "1k3raigcgpwa0h8zkv5x9rycnn2iqkb9qim4q9ydqy9wbv3m32jb";
|
2015-01-15 21:20:42 +00:00
|
|
|
};
|
|
|
|
|
2017-09-13 16:29:47 +00:00
|
|
|
buildInputs = [ stdenv cmake ncurses readline ];
|
2015-01-15 21:20:42 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$out .
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://ctodo.apakoh.dk/";
|
2015-04-28 08:54:58 +00:00
|
|
|
description = "A simple ncurses-based task list manager";
|
2015-01-15 21:20:42 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2019-02-20 18:52:48 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|