depot/third_party/nixpkgs/pkgs/development/guile-modules/guile-commonmark/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

44 lines
920 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, guile
, pkg-config
, texinfo
}:
stdenv.mkDerivation {
pname = "guile-commonmark";
version = "unstable-2020-04-30";
src = fetchFromGitHub {
owner = "OrangeShark";
repo = "guile-commonmark";
rev = "538ffea25ca69d9f3ee17033534ba03cc27ba468";
hash = "sha256-9cA7iQ/GGEx+HwsdAxKC3IssqkT/Yg8ZxaiIprS5VuI=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
texinfo # for makeinfo
];
buildInputs = [
guile
];
# https://github.com/OrangeShark/guile-commonmark/issues/20
doCheck = false;
makeFlags = [
"GUILE_AUTO_COMPILE=0"
];
meta = with lib; {
homepage = "https://github.com/OrangeShark/guile-commonmark";
description = "Implementation of CommonMark for Guile";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = guile.meta.platforms;
};
}