2014-10-10 15:58:11 +01:00
|
|
|
{stdenv, fetchurl}:
|
2017-03-01 00:45:06 +00:00
|
|
|
|
2014-10-10 15:58:11 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-08-19 22:09:42 +01:00
|
|
|
version = "2.2.4";
|
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";
|
2018-08-19 22:09:42 +01:00
|
|
|
sha256 = "199hwajpspqil0a4y3yxsmhdp2dm73gqkzfk4mrwzsmlq8y1xzbl";
|
2014-10-10 15:58:11 +01:00
|
|
|
};
|
2017-03-01 00:45:06 +00:00
|
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.pell.portland.or.us/~orc/Code/discount/;
|
2014-10-10 15:58:11 +01:00
|
|
|
license = licenses.bsd3;
|
2017-03-01 00:45:06 +00:00
|
|
|
maintainers = with maintainers; [ shell ndowens ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2014-10-10 15:58:11 +01:00
|
|
|
};
|
|
|
|
}
|