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

20 lines
606 B
Nix
Raw Normal View History

2014-10-10 15:58:11 +01:00
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "2.1.6";
name = "discount-${version}";
src = fetchurl {
url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";
sha256 = "15h726m5yalq15hkxxfw4bxwd6wkwkan5q7s80pgi1z32ygb4avh";
};
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 ];
2014-10-10 15:58:11 +01:00
};
}