nixpkgs/pkgs/tools/text/discount/default.nix
worldofpeace 56507df617 discount: enable various configureFlags
Shouldn't be harmfull.
2019-01-19 21:56:08 -05:00

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;
};
}