From 7ea32d390b292f780ce00f494441f6179b4395b0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 27 Jun 2015 19:40:56 +0200 Subject: [PATCH 1/2] mdp: 0.93 -> 1.0.0 --- pkgs/applications/misc/mdp/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/mdp/default.nix b/pkgs/applications/misc/mdp/default.nix index 2e94414235db..02202fd332c9 100644 --- a/pkgs/applications/misc/mdp/default.nix +++ b/pkgs/applications/misc/mdp/default.nix @@ -1,13 +1,12 @@ -{ stdenv, fetchFromGitHub, ncurses }: +{ stdenv, fetchurl, ncurses }: -stdenv.mkDerivation { - name = "mdp-0.93"; +stdenv.mkDerivation rec { + version = "1.0.0"; + name = "mdp-${version}"; - src = fetchFromGitHub { - owner = "visit1985"; - repo = "mdp"; - rev = "09d6bd1a8a33fac75a999f0822ec10cb77fbc072"; - sha256 = "0ksa0zqzv1yb8nspxp2vww7bp9y99pcma1vx3cixd3qb5y5ljn1n"; + src = fetchurl { + url = "https://github.com/visit1985/mdp/archive/${version}.tar.gz"; + sha256 = "1xkmzcwa5ml1xfv92brwirnm00a44jkj7wpfimxbny98zgmad8vn"; }; makeFlags = "PREFIX=$(out)"; From c37e2745bd82050b9b238c04d512bfb7652aa07e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 27 Jun 2015 19:41:11 +0200 Subject: [PATCH 2/2] mdp: Add license, pkg maintainer --- pkgs/applications/misc/mdp/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/mdp/default.nix b/pkgs/applications/misc/mdp/default.nix index 02202fd332c9..aa2045cc8e86 100644 --- a/pkgs/applications/misc/mdp/default.nix +++ b/pkgs/applications/misc/mdp/default.nix @@ -13,8 +13,10 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; - meta = { + meta = with stdenv.lib; { homepage = https://github.com/visit1985/mdp; description = "A command-line based markdown presentation tool"; + maintainers = with maintainers; [ matthiasbeyer ]; + license = licenses.gpl3; }; }