libcbor: 0.10.2 -> 0.11.0
Changes: https://github.com/PJK/libcbor/releases/tag/v0.11.0
This commit is contained in:
parent
35c5863c29
commit
47b9e8c2e8
1 changed files with 2 additions and 14 deletions
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, cmake
|
, cmake
|
||||||
, cmocka
|
, cmocka
|
||||||
|
|
||||||
|
@ -14,28 +13,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libcbor";
|
pname = "libcbor";
|
||||||
version = "0.10.2";
|
version = "0.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PJK";
|
owner = "PJK";
|
||||||
repo = "libcbor";
|
repo = "libcbor";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-eE11hYPsOKqfoX8fx/oYfOAichhUe4mMpNQNVZ6vAUI=";
|
hash = "sha256-N1xYkZw/6lX/nX/TE6/pVuEFgSyDiUJ50msK42NrKwI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Pull fix pending upstream inclusion to support
|
|
||||||
# `CMAKE_INSTALL_INCLUDEDIR`:
|
|
||||||
# https://github.com/PJK/libcbor/pull/297
|
|
||||||
(fetchpatch {
|
|
||||||
name = "includedir.patch";
|
|
||||||
url = "https://github.com/PJK/libcbor/commit/d00a63e6d6858a2ed6be9b431b42799ed2c99ad8.patch";
|
|
||||||
hash = "sha256-kBCSbAHOCGOs/4Yu6Vh0jcmzA/jYPkkPXPGPrptRfyk=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue