yubikey-personalization: support json_c-0.14
This commit is contained in:
parent
542c8ff893
commit
9aadc464af
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libusb1, libyubikey, json_c }:
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libusb1, libyubikey, json_c }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yubikey-personalization";
|
pname = "yubikey-personalization";
|
||||||
@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f";
|
sha256 = "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# remove after updating to next release
|
||||||
|
(fetchpatch {
|
||||||
|
name = "json-c-0.14-support.patch";
|
||||||
|
url = "https://github.com/Yubico/yubikey-personalization/commit/0aa2e2cae2e1777863993a10c809bb50f4cde7f8.patch";
|
||||||
|
sha256 = "1wnigf3hbq59i15kgxpq3pwrl1drpbj134x81mmv9xm1r44cjva8";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libusb1 libyubikey json_c ];
|
buildInputs = [ libusb1 libyubikey json_c ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user