uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
30
pkgs/development/libraries/cmark-gfm/default.nix
Normal file
30
pkgs/development/libraries/cmark-gfm/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cmark-gfm";
|
||||
version = "0.29.0.gfm.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "github";
|
||||
repo = "cmark-gfm";
|
||||
rev = version;
|
||||
sha256 = "sha256-V3XegSjqKLCMpfnoYHr9/r5fSC2CC7A2jXkAcHUt7eA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
# tests load the library dynamically which for unknown reason failed
|
||||
doCheck = false;
|
||||
|
||||
# remove when https://github.com/github/cmark-gfm/pull/248 merged and released
|
||||
postInstall = ''
|
||||
substituteInPlace $out/include/cmark-gfm-core-extensions.h \
|
||||
--replace '#include "config.h"' '#include <stdbool.h>'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
|
||||
homepage = "https://github.com/github/cmark-gfm";
|
||||
maintainers = with maintainers; [ cyplo ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue