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