diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-01-15 22:20:42 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-01-15 22:56:09 +0100 |
commit | ddc0d431154487490ce6018eef969d0578afae85 (patch) | |
tree | 0d22ee166b0e5ba55736c873e9969995ef62110e /pkgs/applications/misc/ctodo | |
parent | efa8fc2b0a5e94fd22e26c31c82b643d2352e92a (diff) |
Add package: ctodo
Diffstat (limited to 'pkgs/applications/misc/ctodo')
-rw-r--r-- | pkgs/applications/misc/ctodo/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ctodo/default.nix b/pkgs/applications/misc/ctodo/default.nix new file mode 100644 index 0000000000000..fbb1701dd226b --- /dev/null +++ b/pkgs/applications/misc/ctodo/default.nix @@ -0,0 +1,27 @@ +{ stdenv, cmake, fetchgit, ncurses }: + +let + version = "1.1"; +in +stdenv.mkDerivation { + name = "ctodo-${version}"; + + src = fetchgit { + url = "https://github.com/Acolarh/ctodo.git"; + rev = "de478f5028a1b167bfdb6dd4160d83d9ef7db839"; + sha256 = "3a43a6237e8fe5b37ca7d5abc88c20158f2cff1f8b98762c404e6f24d4b7993e"; + }; + + 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 ]; + }; +} |