nixpkgs/pkgs/by-name/ht/htcondor/package.nix

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

66 lines
1.1 KiB
Nix
Raw Normal View History

2024-02-07 21:28:28 +01:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, libuuid
, expat
, curl
, pcre2
, sqlite
, python3
, boost
, libxml2
, libvirt
, munge
, voms
, perl
, 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";
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
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 ];
# cannot find -lpthread: No such file or directory
broken = stdenv.isAarch64;
2024-02-07 21:28:28 +01:00
};
}