Merge pull request #287034 from lub-dub/htcondor

Adding HTcondor 23.3.0 and scitoken-cpp 1.1.0
This commit is contained in:
Dmitry Kalinkin 2024-02-08 16:08:09 -05:00 committed by GitHub
commit cadbb71439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 100 additions and 0 deletions

View file

@ -5907,6 +5907,12 @@
githubId = 2512008; githubId = 2512008;
name = "Even Brenden"; name = "Even Brenden";
}; };
evey = {
email = "nix@lubdub.nl";
github = "lub-dub";
githubId = 159288204;
name = "evey";
};
evilmav = { evilmav = {
email = "elenskiy.ilya@gmail.com"; email = "elenskiy.ilya@gmail.com";
github = "evilmav"; github = "evilmav";

View file

@ -0,0 +1,62 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, libuuid
, expat
, curl
, pcre2
, sqlite
, python3
, boost
, libxml2
, libvirt
, munge
, voms
, perl
, scitoken-cpp
, openssl
}:
stdenv.mkDerivation rec {
pname = "htcondor";
version = "23.3.0";
src = fetchFromGitHub {
owner = "htcondor";
repo = "htcondor";
rev = "v23.3.0";
hash = "sha256-Ew9leVpvEndiRkOnhx2fLClrNW1bC5djcJEBsve6eIk=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
libuuid
expat
openssl
curl
pcre2
sqlite
python3
boost
libxml2
libvirt
munge
voms
perl
scitoken-cpp
];
cmakeFlags = [ "-DSYSTEM_NAME=NixOS" "-DWITH_PYTHON_BINDINGS=false" ];
meta = with lib; {
homepage = "https://htcondor.org/";
description =
"HTCondor is a software system that creates a High-Throughput Computing (HTC) environment";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = with maintainers; [ evey ];
};
}

View file

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