@@ -1,21 +1,22 @@
1−{ stdenv, fetchFromGitHub, ncurses }:
1+{ stdenv, fetchurl, ncurses }:
3−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
4− name = "mdp-0.93";
5+ name = "mdp-${version}";
6− src = fetchFromGitHub {
7+ src = fetchurl {
7− owner = "visit1985";
8+ url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz";
8− repo = "mdp";
9+ sha256 = "1xkmzcwa5ml1xfv92brwirnm00a44jkj7wpfimxbny98zgmad8vn";
9− rev = "09d6bd1a8a33fac75a999f0822ec10cb77fbc072";
10− sha256 = "0ksa0zqzv1yb8nspxp2vww7bp9y99pcma1vx3cixd3qb5y5ljn1n";
13 makeFlags = "PREFIX=$(out)";
12 makeFlags = "PREFIX=$(out)";
15 buildInputs = [ ncurses ];
14 buildInputs = [ ncurses ];
17− meta = {
16+ meta = with stdenv.lib; {
18 homepage = https://github.com/visit1985/mdp;
17 homepage = https://github.com/visit1985/mdp;
19 description = "A command-line based markdown presentation tool";
18 description = "A command-line based markdown presentation tool";
19+ maintainers = with maintainers; [ matthiasbeyer ];
20+ license = licenses.gpl3;