nixpkgs-suyu/pkgs/development/libraries/classads/default.nix
2021-01-21 19:11:02 -08:00

26 lines
659 B
Nix

{ lib, 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 = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}