nixpkgs/pkgs/development/libraries/classads/default.nix

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

30 lines
878 B
Nix
Raw Normal View History

2023-01-09 01:02:54 +00:00
{ lib, stdenv, fetchurl, autoreconfHook, pcre }:
2021-07-17 18:37:27 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "classads";
2021-07-17 18:37:27 +00:00
version = "1.0.10";
src = fetchurl {
url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz";
2013-12-15 09:31:53 +00:00
sha256 = "1czgj53gnfkq3ncwlsrwnr4y91wgz35sbicgkp4npfrajqizxqnd";
};
2023-01-09 01:02:54 +00:00
nativeBuildInputs = [ autoreconfHook ];
2013-12-15 09:38:20 +00:00
buildInputs = [ pcre ];
configureFlags = [
"--enable-namespace" "--enable-flexible-member"
];
2023-01-09 01:02:54 +00:00
# error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite";
2023-01-09 01:02:54 +00:00
meta = {
homepage = "http://www.cs.wisc.edu/condor/classad/";
description = "The Classified Advertisements library provides a generic means for matching resources";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}