nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, curl }:
2
3stdenv.mkDerivation {
4 pname = "libykclient";
5 version = "unstable-2019-03-18";
6 src = fetchFromGitHub {
7 owner = "Yubico";
8 repo = "yubico-c-client";
9 rev = "ad9eda6aac4c3f81784607c30b971f4a050b5c2e";
10 sha256 = "01b19jgv2lypih6lhw9yjjsfl8q1ahl955vhr2ai8ccshh0050yj";
11 };
12
13 nativeBuildInputs = [ autoreconfHook pkgconfig help2man ];
14 buildInputs = [ curl ];
15
16 meta = with stdenv.lib; {
17 description = "Yubikey C client library";
18 homepage = "https://developers.yubico.com/yubico-c-client";
19 license = licenses.bsd2;
20 maintainers = with maintainers; [ dtzWill ];
21 };
22}