mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
Merge pull request #5794 from matthiasbeyer/add-ctodo
Add package: ctodo
This commit is contained in:
commit
220f6927d2
27
pkgs/applications/misc/ctodo/default.nix
Normal file
27
pkgs/applications/misc/ctodo/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, cmake, fetchurl, ncurses }:
|
||||
|
||||
let
|
||||
version = "1.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "ctodo-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Acolarh/ctodo/archive/v1.1.tar.gz";
|
||||
sha256 = "1sv5p1b08pp73qshakz4qy4pjglxz2pvx2cjfx52i3532hd3xcaf";
|
||||
};
|
||||
|
||||
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 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4542,6 +4542,8 @@ let
|
|||
inherit pkgs ctags writeScriptBin;
|
||||
};
|
||||
|
||||
ctodo = callPackage ../applications/misc/ctodo { };
|
||||
|
||||
cmake = callPackage ../development/tools/build-managers/cmake { };
|
||||
|
||||
cmake-3_0 = callPackage ../development/tools/build-managers/cmake/3.0.nix { };
|
||||
|
|
Loading…
Reference in a new issue