mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
Merge pull request #107169 from matthiasbeyer/init-cjson
cjson: init at 1.7.14
This commit is contained in:
commit
7d803a4305
23
pkgs/development/libraries/cjson/default.nix
Normal file
23
pkgs/development/libraries/cjson/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cjson";
|
||||
version = "1.7.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DaveGamble";
|
||||
repo = "cJSON";
|
||||
rev = "v${version}";
|
||||
sha256 = "1a3i9ydl65dgwgmlg79n5q8qilmjkaakq56sam1w25zcrd8jy11q";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/DaveGamble/cJSON";
|
||||
description = "Ultralightweight JSON parser in ANSI C";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.matthiasbeyer ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -3080,6 +3080,8 @@ in
|
||||
|
||||
cjdns = callPackage ../tools/networking/cjdns { };
|
||||
|
||||
cjson = callPackage ../development/libraries/cjson { };
|
||||
|
||||
cksfv = callPackage ../tools/networking/cksfv { };
|
||||
|
||||
clementine = libsForQt514.callPackage ../applications/audio/clementine {
|
||||
|
Loading…
Reference in New Issue
Block a user