ctodo: enable build on unix
This commit is contained in:
parent
edf334d2ee
commit
cc9e751b22
|
@ -1,25 +1,24 @@
|
||||||
{ stdenv, cmake, fetchurl, ncurses, readline }:
|
{ stdenv, fetchFromGitHub, cmake, ncurses, readline }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ctodo";
|
pname = "ctodo";
|
||||||
version = "1.3";
|
version = "1.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Acolarh/ctodo/archive/v${version}.tar.gz";
|
owner = "Acolarh";
|
||||||
sha256 = "1k3raigcgpwa0h8zkv5x9rycnn2iqkb9qim4q9ydqy9wbv3m32jb";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0mqy5b35cbdwfpbs91ilsgz3wc4cky38xfz9pnr4q88q1vybigna";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ stdenv cmake ncurses readline ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ ncurses readline ];
|
||||||
|
|
||||||
configurePhase = ''
|
meta = with stdenv.lib; {
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=$out .
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://ctodo.apakoh.dk/";
|
homepage = "http://ctodo.apakoh.dk/";
|
||||||
description = "A simple ncurses-based task list manager";
|
description = "A simple ncurses-based task list manager";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
maintainers = [ maintainers.matthiasbeyer ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue