27 lines
670 B
Nix
27 lines
670 B
Nix
|
{ stdenv, fetchurl, pcre }:
|
||
|
|
||
|
let version = "1.0.10"; in
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "classads";
|
||
|
inherit version;
|
||
|
|
||
|
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"
|
||
|
];
|
||
|
|
||
|
meta = {
|
||
|
homepage = "http://www.cs.wisc.edu/condor/classad/";
|
||
|
description = "The Classified Advertisements library provides a generic means for matching resources";
|
||
|
license = stdenv.lib.licenses.asl20;
|
||
|
platforms = stdenv.lib.platforms.unix;
|
||
|
};
|
||
|
}
|