mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
1575eb8c3b
Accessing archive using current rev leads to an error saying that: the given path has multiple possibilities: #Git::Ref:0x00007f4cdbb09cd8, #Git::Ref:0x00007f4cdbb09008 Altering rev variable by adding the extra path resolves the problem
28 lines
723 B
Nix
28 lines
723 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "yajl";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lloyd";
|
|
repo = "yajl";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Yet Another JSON Library";
|
|
longDescription = ''
|
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI
|
|
C, and a small validating JSON generator.
|
|
'';
|
|
homepage = "http://lloyd.github.com/yajl/";
|
|
license = lib.licenses.isc;
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
maintainers = with lib.maintainers; [ maggesi ];
|
|
};
|
|
}
|