nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 libuuid,
7 expat,
8 curl,
9 pcre2,
10 sqlite,
11 python3,
12 boost,
13 libxml2,
14 libvirt,
15 munge,
16 voms,
17 perl,
18 scitokens-cpp,
19 openssl,
20}:
21
22stdenv.mkDerivation rec {
23 pname = "htcondor";
24 version = "24.2.2";
25
26 src = fetchFromGitHub {
27 owner = "htcondor";
28 repo = "htcondor";
29
30 rev = "v${version}";
31 hash = "sha256-F8uI8Stvao7VKULTcOjv/nFUhFHxqd00gRNe6tkKgPE=";
32 };
33
34 nativeBuildInputs = [ cmake ];
35 buildInputs = [
36 libuuid
37 expat
38 openssl
39 curl
40 pcre2
41 sqlite
42 python3
43 boost
44 libxml2
45 libvirt
46 munge
47 voms
48 perl
49 scitokens-cpp
50 ];
51
52 env.CXXFLAGS = "-fpermissive";
53
54 cmakeFlags = [
55 "-DSYSTEM_NAME=NixOS"
56 "-DWITH_PYTHON_BINDINGS=false"
57 ];
58
59 meta = {
60 homepage = "https://htcondor.org/";
61 description = "Software system that creates a High-Throughput Computing (HTC) environment";
62 platforms = lib.platforms.linux;
63 license = lib.licenses.asl20;
64 maintainers = with lib.maintainers; [ evey ];
65 # On Aarch64: ld: cannot find -lpthread: No such file or directory
66 # On x86_64: ld: cannot find -ldl: No such file or directory
67 broken = true;
68 };
69}