Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2ef92f0b5a49
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8b36a16b0545
Choose a head ref
  • 4 commits
  • 1 file changed
  • 3 contributors

Commits on May 10, 2017

  1. cmark: 0.23.0 -> 0.27.1

    andrewrk committed May 10, 2017

    Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    33acfb8 View commit details

Commits on May 11, 2017

  1. Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    2dcc5bb View commit details
  2. cmark: enable tests

    Mic92 committed May 11, 2017
    Copy the full SHA
    e2a807c View commit details
  3. Merge pull request #25684 from andrewrk/update-cmark

    cmark: 0.23.0 -> 0.27.1
    Mic92 authored May 11, 2017
    Copy the full SHA
    8b36a16 View commit details
Showing with 16 additions and 9 deletions.
  1. +16 −9 pkgs/development/libraries/cmark/default.nix
25 changes: 16 additions & 9 deletions pkgs/development/libraries/cmark/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
{ stdenv, fetchurl, cmake }:
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
version = "0.23.0";
version = "0.27.1";
name = "cmark-${version}";

src = fetchurl {
url = "https://github.com/jgm/cmark/archive/${version}.tar.gz";
sha256 = "87d289965066fce7be247d44c0304af1b20817dcc1b563702302ae33f2be0596";
src = fetchFromGitHub {
owner = "jgm";
repo = "cmark";
rev = version;
sha256 = "06miwq3rl2bighkn6iq7bdwzmvcqa53qwpa0pqjqa8yn44j8ijj8";
};

buildInputs = [ cmake ];
nativeBuildInputs = [ cmake ];
doCheck = true;
checkPhase = ''
export LD_LIBRARY_PATH=$(readlink -f ./src)
CTEST_OUTPUT_ON_FAILURE=1 make test
'';

meta = {
meta = with stdenv.lib; {
description = "CommonMark parsing and rendering library and program in C";
homepage = https://github.com/jgm/cmark;
maintainers = [ stdenv.lib.maintainers.michelk ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ maintainers.michelk ];
platforms = platforms.unix;
};
}