From 6ed6d87afcfed8cb4d5eed86101a94ad9259d893 Mon Sep 17 00:00:00 2001 From: Michel Kuhlmann Date: Mon, 4 Jan 2016 10:06:37 +0100 Subject: [PATCH] cmark: init at 0.23.0 --- pkgs/development/libraries/cmark/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/cmark/default.nix diff --git a/pkgs/development/libraries/cmark/default.nix b/pkgs/development/libraries/cmark/default.nix new file mode 100644 index 000000000000..be60c18353ef --- /dev/null +++ b/pkgs/development/libraries/cmark/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, cmake }: + +stdenv.mkDerivation rec { + version = "0.23.0"; + name = "cmark-${version}"; + + src = fetchurl { + url = "https://github.com/jgm/cmark/archive/${version}.tar.gz"; + sha256 = "87d289965066fce7be247d44c0304af1b20817dcc1b563702302ae33f2be0596"; + }; + + buildInputs = [ cmake ]; + + meta = { + description = "CommonMark parsing and rendering library and program in C"; + homepage = https://github.com/jgm/cmark; + maintainers = [ stdenv.lib.maintainers.michelk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 25e65c43119e..9267b9fdff44 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -287,6 +287,8 @@ let buildMaven = callPackage ../build-support/build-maven.nix {}; + cmark = callPackage ../development/libraries/cmark { }; + dotnetenv = callPackage ../build-support/dotnetenv { dotnetfx = dotnetfx40; };