mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 05:04:40 +00:00
44 lines
762 B
Nix
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 ];
|
|
};
|
|
}
|