15 stdenv.mkDerivation rec {
16 pname = "yubihsm-shell";
19 src = fetchFromGitHub {
21 repo = "yubihsm-shell";
23 sha256 = "sha256-rSIdI6ECLte+dEbT8NOUqS8jkozRhbo+eqFrdhTIKpY=";
42 # Can't find libyubihsm at runtime because of dlopen() in C code
43 substituteInPlace lib/yubihsm.c \
44 --replace "libyubihsm_usb.so" "$out/lib/libyubihsm_usb.so" \
45 --replace "libyubihsm_http.so" "$out/lib/libyubihsm_http.so"
49 description = "yubihsm-shell and libyubihsm";
50 homepage = "https://github.com/Yubico/yubihsm-shell";
51 maintainers = with maintainers; [ matthewcroughan ];
52 license = licenses.asl20;