jansson: 2.13.1 -> 2.14

https://github.com/akheron/jansson/raw/v2.14/CHANGES
This commit is contained in:
Mario Rodas 2022-06-04 04:20:00 +00:00
parent 9e1c94057c
commit 9ac2a6f064

View File

@ -1,17 +1,22 @@
{lib, stdenv, fetchurl}:
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "jansson";
version = "2.13.1";
version = "2.14";
src = fetchurl {
url = "https://digip.org/jansson/releases/${pname}-${version}.tar.gz";
sha256 = "0ks7gbs0j8p4dmmi2sq129mxy5gfg0z6220i1jk020mi2zd7gwzl";
src = fetchFromGitHub {
owner = "akheron";
repo = "jansson";
rev = "v${version}";
sha256 = "sha256-FQgy2+g3AyRVJeniqPQj0KNeHgPdza2pmEIXqSyYry4=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "http://www.digip.org/jansson/";
homepage = "https://github.com/akheron/jansson";
description = "C library for encoding, decoding and manipulating JSON data";
changelog = "https://github.com/akheron/jansson/raw/v${version}/CHANGES";
license = licenses.mit;
platforms = platforms.all;
};