1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/tools/text/discount/default.nix

34 lines
772 B
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchFromGitHub }:
2014-10-10 15:58:11 +01:00
stdenv.mkDerivation rec {
version = "2.2.6";
pname = "discount";
2014-10-10 15:58:11 +01:00
src = fetchFromGitHub {
owner = "Orc";
repo = pname;
rev = "v${version}";
sha256 = "1y066jkxfas0vdixbqq66j9p00a102sbfgq5gbrblfczqjrmc38w";
2014-10-10 15:58:11 +01:00
};
2014-10-10 15:58:11 +01:00
patches = ./fix-configure-path.patch;
configureScript = "./configure.sh";
configureFlags = [
"--enable-all-features"
"--pkg-config"
"--shared"
"--with-fenced-code"
];
doCheck = true;
2014-10-10 15:58:11 +01:00
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
};
}