2015-06-27 17:40:56 +00:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
2015-02-05 20:51:45 +00:00
|
|
|
|
2015-06-27 17:40:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-02-16 13:17:28 +00:00
|
|
|
version = "1.0.5";
|
2015-06-27 17:40:56 +00:00
|
|
|
name = "mdp-${version}";
|
2015-02-05 20:51:45 +00:00
|
|
|
|
2015-06-27 17:40:56 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz";
|
2016-02-16 13:17:28 +00:00
|
|
|
sha256 = "0ckd9k5571zc7pzxdx84gv8k103d5qp49f2i477a395fy2pnq4m8";
|
2015-02-05 20:51:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2015-06-27 17:41:11 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-02-05 20:51:45 +00:00
|
|
|
homepage = https://github.com/visit1985/mdp;
|
|
|
|
description = "A command-line based markdown presentation tool";
|
2015-06-27 17:41:11 +00:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
license = licenses.gpl3;
|
2015-02-05 20:51:45 +00:00
|
|
|
};
|
|
|
|
}
|