Files
nixpkgs/pkgs/by-name/sc/scitokens-cpp/package.nix
2026-04-28 05:18:06 +00:00

44 lines
762 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
libuuid,
curl,
sqlite,
openssl,
}:
stdenv.mkDerivation {
pname = "scitokens-cpp";
version = "1.4.1";
src = fetchFromGitHub {
owner = "scitokens";
repo = "scitokens-cpp";
rev = "v1.4.1";
hash = "sha256-qZUW+b8drIAm21baUO1+O39O9FPP2McmdjsfGTRGRfQ=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libuuid
openssl
curl
sqlite
];
meta = {
homepage = "https://github.com/scitokens/scitokens-cpp/";
description = "C++ implementation of the SciTokens library with a C library interface";
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ evey ];
};
}