mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
34 lines
762 B
Nix
34 lines
762 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.2.6";
|
|
pname = "discount";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Orc";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1y066jkxfas0vdixbqq66j9p00a102sbfgq5gbrblfczqjrmc38w";
|
|
};
|
|
|
|
patches = ./fix-configure-path.patch;
|
|
configureScript = "./configure.sh";
|
|
|
|
configureFlags = [
|
|
"--enable-all-features"
|
|
"--pkg-config"
|
|
"--shared"
|
|
"--with-fenced-code"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
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;
|
|
};
|
|
}
|