nixpkgs/pkgs/tools/text/discount/default.nix

21 lines
638 B
Nix
Raw Normal View History

2014-10-10 14:58:11 +00:00
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
2016-05-30 21:26:09 +00:00
version = "2.2.0";
2014-10-10 14:58:11 +00:00
name = "discount-${version}";
src = fetchurl {
url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";
2016-05-30 21:26:09 +00:00
sha256 = "1wxrv86xr8cacwhzkyzmfxg58svfnn3swbpbk5hq621ckk19alxj";
2014-10-10 14:58:11 +00:00
};
patches = ./fix-configure-path.patch;
configureScript = "./configure.sh";
meta = with stdenv.lib; {
description = "Implementation of Markdown markup language in C";
homepage = "http://www.pell.portland.or.us/~orc/Code/discount/";
license = licenses.bsd3;
2014-10-12 11:09:07 +00:00
maintainers = [ maintainers.shell ];
platforms = platforms.unix;
2014-10-10 14:58:11 +00:00
};
}