2014-10-10 15:58:11 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-30 22:26:09 +01:00
|
|
|
version = "2.2.0";
|
2014-10-10 15:58:11 +01:00
|
|
|
name = "discount-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";
|
2016-05-30 22:26:09 +01:00
|
|
|
sha256 = "1wxrv86xr8cacwhzkyzmfxg58svfnn3swbpbk5hq621ckk19alxj";
|
2014-10-10 15:58:11 +01: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 12:09:07 +01:00
|
|
|
maintainers = [ maintainers.shell ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2014-10-10 15:58:11 +01:00
|
|
|
};
|
|
|
|
}
|