depot/pkgs/by-name/sc/scitokens-cpp/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
744 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libuuid, curl, sqlite, openssl }:
stdenv.mkDerivation rec {
pname = "scitokens-cpp";
version = "1.1.2";
src = fetchFromGitHub {
owner = "scitokens";
repo = "scitokens-cpp";
rev = "v1.1.2";
hash = "sha256-87mV1hyoUI/pWzRXaI051H3+FN5TXcachhgAPTtQYHg=";
};
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 ];
};
}