Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
923 B
Nix
39 lines
923 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
pcre,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "classads";
|
|
version = "1.0.10";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz";
|
|
sha256 = "1czgj53gnfkq3ncwlsrwnr4y91wgz35sbicgkp4npfrajqizxqnd";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ pcre ];
|
|
|
|
configureFlags = [
|
|
"--enable-namespace"
|
|
"--enable-flexible-member"
|
|
];
|
|
|
|
# error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString (
|
|
stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64
|
|
) "-Dfinite=isfinite";
|
|
|
|
meta = {
|
|
homepage = "http://www.cs.wisc.edu/condor/classad/";
|
|
description = "Classified Advertisements library provides a generic means for matching resources";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|