diff options
Diffstat (limited to 'pkgs/applications/misc/mdp')
-rw-r--r-- | pkgs/applications/misc/mdp/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/misc/mdp/default.nix b/pkgs/applications/misc/mdp/default.nix index ad3fbad8622b1..06eb883300c78 100644 --- a/pkgs/applications/misc/mdp/default.nix +++ b/pkgs/applications/misc/mdp/default.nix @@ -1,22 +1,24 @@ -{ stdenv, fetchurl, ncurses }: +{ stdenv, fetchFromGitHub, ncurses }: stdenv.mkDerivation rec { - version = "1.0.6"; + version = "1.0.7"; name = "mdp-${version}"; - src = fetchurl { - url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz"; - sha256 = "1m6qbqr9kfj27qf27gkgqr1jpf7z0xym71w61pnjwsmcryp0db19"; + src = fetchFromGitHub { + owner = "visit1985"; + repo = "mdp"; + rev = version; + sha256 = "10jkv8g04vvhik42y0qqcbn05hlnfsgbljhx69hx1sfn7js2d8g4"; }; - makeFlags = "PREFIX=$(out)"; + makeFlags = [ "PREFIX=$(out)" ]; buildInputs = [ ncurses ]; meta = with stdenv.lib; { homepage = https://github.com/visit1985/mdp; description = "A command-line based markdown presentation tool"; - maintainers = with maintainers; [ matthiasbeyer ]; + maintainers = with maintainers; [ matthiasbeyer vrthra ]; license = licenses.gpl3; }; } |