1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/by-name/sc/scitokens-cpp/package.nix
2024-02-13 16:33:35 -05:00

33 lines
744 B
Nix

{ 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 ];
};
}