diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-04-15 10:30:13 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-04-15 17:09:12 -0300 |
commit | 5e3b5d5b672e947477f5fe5c8c81430bcf0f38b1 (patch) | |
tree | bfec9960bf750d1d3f3379f2b6ba61f06c163be8 /pkgs/development/guile-modules/guile-commonmark/default.nix | |
parent | 449365497b3f26863c1cc7c210e057e259f89eaa (diff) |
guile-commonmark: init at 0.1.2
Diffstat (limited to 'pkgs/development/guile-modules/guile-commonmark/default.nix')
-rw-r--r-- | pkgs/development/guile-modules/guile-commonmark/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/guile-modules/guile-commonmark/default.nix b/pkgs/development/guile-modules/guile-commonmark/default.nix new file mode 100644 index 0000000000000..113fad13600cd --- /dev/null +++ b/pkgs/development/guile-modules/guile-commonmark/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, guile +, pkg-config +}: + +stdenv.mkDerivation rec { + pname = "guile-commonmark"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "OrangeShark"; + repo = pname; + rev = "v${version}"; + hash = "sha256-qYDcIiObKOU8lmcfk327LMPx/2Px9ecI3QLrSWWLxMo="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + 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; + }; +} |