forked from mirrors/nixpkgs
56507df617
Shouldn't be harmfull.
30 lines
768 B
Nix
30 lines
768 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.2.4";
|
|
name = "discount-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";
|
|
sha256 = "199hwajpspqil0a4y3yxsmhdp2dm73gqkzfk4mrwzsmlq8y1xzbl";
|
|
};
|
|
|
|
patches = ./fix-configure-path.patch;
|
|
configureScript = "./configure.sh";
|
|
|
|
configureFlags = [
|
|
"--enable-all-features"
|
|
"--pkg-config"
|
|
"--shared"
|
|
"--with-fenced-code"
|
|
];
|
|
|
|
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;
|
|
maintainers = with maintainers; [ shell ndowens ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|