git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8529 from matthiasbeyer/update-mdp
8c19ed8Arseniy Seroka
pkgs/applications/misc/mdp/default.nix+10−9
@@ -1,21 +1,22 @@
1−{ stdenv, fetchFromGitHub, ncurses }:
1+{ stdenv, fetchurl, ncurses }:
2
2
3−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
4+ version = "1.0.0";
4− name = "mdp-0.93";
5+ name = "mdp-${version}";
5
6
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";
11 };
10 };
12
11
13 makeFlags = "PREFIX=$(out)";
12 makeFlags = "PREFIX=$(out)";
14
13
15 buildInputs = [ ncurses ];
14 buildInputs = [ ncurses ];
16
15
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;
20 };
21 };
21}
22}