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

23 lines
653 B
Nix
Raw Normal View History

2014-10-10 15:58:11 +01:00
{stdenv, fetchurl}:
2014-10-10 15:58:11 +01:00
stdenv.mkDerivation rec {
version = "2.2.3a";
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";
sha256 = "0m09x9dd75d3pqvmrwr0kqw3dm2x3ss9clj5fxf7lq79lbyxbxbm";
2014-10-10 15:58:11 +01: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";
homepage = http://www.pell.portland.or.us/~orc/Code/discount/;
2014-10-10 15:58:11 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ shell ndowens ];
platforms = platforms.unix;
2014-10-10 15:58:11 +01:00
};
}