2024-02-07 20:28:28 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, libuuid
|
|
|
|
, expat
|
|
|
|
, curl
|
|
|
|
, pcre2
|
|
|
|
, sqlite
|
|
|
|
, python3
|
|
|
|
, boost
|
|
|
|
, libxml2
|
|
|
|
, libvirt
|
|
|
|
, munge
|
|
|
|
, voms
|
|
|
|
, perl
|
2024-02-13 21:12:20 +00:00
|
|
|
, scitokens-cpp
|
2024-02-07 20:28:28 +00:00
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "htcondor";
|
2024-02-10 08:37:14 +00:00
|
|
|
version = "23.4.0";
|
2024-02-07 20:28:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "htcondor";
|
|
|
|
repo = "htcondor";
|
|
|
|
|
2024-02-11 03:09:28 +00:00
|
|
|
rev = "v${version}";
|
2024-02-10 08:37:14 +00:00
|
|
|
hash = "sha256-+WfNVxP7qsEpn8zPretLnOEAnPq0GylyxCbcQI8o0L0=";
|
2024-02-07 20:28:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
|
|
libuuid
|
|
|
|
expat
|
|
|
|
openssl
|
|
|
|
curl
|
|
|
|
pcre2
|
|
|
|
sqlite
|
|
|
|
python3
|
|
|
|
boost
|
|
|
|
libxml2
|
|
|
|
libvirt
|
|
|
|
munge
|
|
|
|
voms
|
|
|
|
perl
|
2024-02-13 21:12:20 +00:00
|
|
|
scitokens-cpp
|
2024-02-07 20:28:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
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 ];
|
2024-02-11 03:09:28 +00:00
|
|
|
# cannot find -lpthread: No such file or directory
|
|
|
|
broken = stdenv.isAarch64;
|
2024-02-07 20:28:28 +00:00
|
|
|
};
|
|
|
|
}
|