cripslock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

cmark.nix (655B)


      1 { buildLuarocksPackage, fetchFromGitHub, fetchurl }:
      2 buildLuarocksPackage {
      3   pname = "cmark";
      4   version = "0.31.1-1";
      5   knownRockspec = (fetchurl {
      6     url    = "mirror://luarocks/cmark-0.31.1-1.rockspec";
      7     sha256 = "00wdbvx3gmh7f08d2a5kvpa687rc922n5zgzxxqrip3xhll9hzwm";
      8   }).outPath;
      9   src = fetchFromGitHub {
     10     owner = "jgm";
     11     repo = "cmark-lua";
     12     rev = "0.31.1";
     13     hash = "sha256-elI+BYPTlFezkoWLjJyPBsAt2Pq2DRe/+YPmtG27ABY=";
     14   };
     15 
     16   meta = {
     17     homepage = "https://github.com/jgm/cmark-lua";
     18     description = "Lua wrapper for libcmark, CommonMark Markdown parsing\
     19       and rendering library";
     20     license.fullName = "BSD2";
     21   };
     22 }