about summary refs log tree commit diff
path: root/pkgs/by-name/sc/scitokens-cpp/package.nix
blob: 691e89fa2b80aff1883a014d60fe7feab70c7764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libuuid, curl, sqlite, openssl }:

stdenv.mkDerivation rec {
  pname = "scitokens-cpp";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "scitokens";
    repo = "scitokens-cpp";

    rev = "v1.1.0";
    hash = "sha256-g97Ah5Oob0iOvMQegpG/AACLZCW37kA0RpSIcKOyQnE=";
  };

  nativeBuildInputs = [ cmake pkg-config ];
  buildInputs = [
    libuuid
    openssl
    curl
    sqlite
  ];


  meta = with lib; {
    homepage = "https://github.com/scitokens/scitokens-cpp/";
    description =
      "A C++ implementation of the SciTokens library with a C library interface";
    platforms = platforms.unix;
    license = licenses.asl20;
    maintainers = with maintainers; [ evey ];
  };
}