2015-06-27 18:40:56 +01:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
2015-02-05 20:51:45 +00:00
|
|
|
|
2015-06-27 18:40:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-15 12:06:16 +01:00
|
|
|
version = "1.0.6";
|
2015-06-27 18:40:56 +01:00
|
|
|
name = "mdp-${version}";
|
2015-02-05 20:51:45 +00:00
|
|
|
|
2015-06-27 18:40:56 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz";
|
2016-05-15 12:06:16 +01:00
|
|
|
sha256 = "1m6qbqr9kfj27qf27gkgqr1jpf7z0xym71w61pnjwsmcryp0db19";
|
2015-02-05 20:51:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2015-06-27 18:41:11 +01: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 18:41:11 +01:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
license = licenses.gpl3;
|
2015-02-05 20:51:45 +00:00
|
|
|
};
|
|
|
|
}
|