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