2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pcre }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "classads";
|
2021-07-18 21:22:44 +00:00
|
|
|
version = "1.0.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz";
|
|
|
|
sha256 = "1czgj53gnfkq3ncwlsrwnr4y91wgz35sbicgkp4npfrajqizxqnd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pcre ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-namespace" "--enable-flexible-member"
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cs.wisc.edu/condor/classad/";
|
|
|
|
description = "The Classified Advertisements library provides a generic means for matching resources";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = lib.platforms.unix;
|
2022-12-17 10:02:37 +00:00
|
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|