about summary refs log tree commit diff
path: root/pkgs/by-name/sc
diff options
context:
space:
mode:
authorEvey <nix@lubdub.nl>2024-02-07 21:28:00 +0100
committerEvey <nix@lubdub.nl>2024-02-07 21:28:00 +0100
commit3ddc412dcff5422f8b24ac85b9cf4c05cf8e2dce (patch)
treecbcfb127fae8f7aae7e42476ab74dbaa681b0d19 /pkgs/by-name/sc
parent4dceaf06011b6eaa328859d4e408c4a0fad34e99 (diff)
scitoken-cpp: init at v1.1.0
Diffstat (limited to 'pkgs/by-name/sc')
-rw-r--r--pkgs/by-name/sc/scitoken-cpp/package.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/sc/scitoken-cpp/package.nix b/pkgs/by-name/sc/scitoken-cpp/package.nix
new file mode 100644
index 0000000000000..f66c99900fb8f
--- /dev/null
+++ b/pkgs/by-name/sc/scitoken-cpp/package.nix
@@ -0,0 +1,32 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libuuid, curl, sqlite, openssl }:
+
+stdenv.mkDerivation rec {
+  pname = "scitoken-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.linux;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ evey ];
+  };
+}