mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
26 lines
714 B
Nix
26 lines
714 B
Nix
{ stdenv, fetchurl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yajl-2.1.0";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/lloyd/yajl/tarball/2.1.0;
|
|
name = "${name}.tar.gz";
|
|
sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
|
|
};
|
|
|
|
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 = stdenv.lib.licenses.isc;
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
|
};
|
|
}
|