1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 pkg-config,
7 libuuid,
8 curl,
9 sqlite,
10 openssl,
11}:
12
13stdenv.mkDerivation {
14 pname = "scitokens-cpp";
15 version = "1.1.3";
16
17 src = fetchFromGitHub {
18 owner = "scitokens";
19 repo = "scitokens-cpp";
20
21 rev = "v1.1.3";
22 hash = "sha256-5EVN/Q4/veNsIdTKcULdKJ+BmRodelfo+CTdrfvkkK8=";
23 };
24
25 nativeBuildInputs = [
26 cmake
27 pkg-config
28 ];
29 buildInputs = [
30 libuuid
31 openssl
32 curl
33 sqlite
34 ];
35
36 meta = with lib; {
37 homepage = "https://github.com/scitokens/scitokens-cpp/";
38 description = "C++ implementation of the SciTokens library with a C library interface";
39 platforms = platforms.unix;
40 license = licenses.asl20;
41 maintainers = with maintainers; [ evey ];
42 };
43}