nixpkgs/pkgs/applications/misc/mdp/default.nix

23 lines
572 B
Nix
Raw Normal View History

2015-06-27 19:40:56 +02:00
{ stdenv, fetchurl, ncurses }:
2015-06-27 19:40:56 +02:00
stdenv.mkDerivation rec {
2016-02-02 21:33:09 +01:00
version = "1.0.4";
2015-06-27 19:40:56 +02:00
name = "mdp-${version}";
2015-06-27 19:40:56 +02:00
src = fetchurl {
url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz";
2016-02-02 21:33:09 +01:00
sha256 = "1wvys3sb0ki7zz5b0y4bl9x6jdj7h88lxsf8vap95k1sj2ymanlm";
};
makeFlags = "PREFIX=$(out)";
buildInputs = [ ncurses ];
2015-06-27 19:41:11 +02:00
meta = with stdenv.lib; {
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;
};
}