Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libuuid,
expat,
curl,
pcre2,
sqlite,
python3,
boost,
libxml2,
libvirt,
munge,
voms,
perl,
scitokens-cpp,
openssl,
}:
stdenv.mkDerivation rec {
pname = "htcondor";
version = "24.2.2";
src = fetchFromGitHub {
owner = "htcondor";
repo = "htcondor";
rev = "v${version}";
hash = "sha256-F8uI8Stvao7VKULTcOjv/nFUhFHxqd00gRNe6tkKgPE=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
libuuid
expat
openssl
curl
pcre2
sqlite
python3
boost
libxml2
libvirt
munge
voms
perl
scitokens-cpp
];
env.CXXFLAGS = "-fpermissive";
cmakeFlags = [
"-DSYSTEM_NAME=NixOS"
"-DWITH_PYTHON_BINDINGS=false"
];
meta = with lib; {
homepage = "https://htcondor.org/";
description = "Software system that creates a High-Throughput Computing (HTC) environment";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = with maintainers; [ evey ];
# On Aarch64: ld: cannot find -lpthread: No such file or directory
# On x86_64: ld: cannot find -ldl: No such file or directory
broken = true;
};
}