Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 25 lines 659 B view raw
1{ stdenv, fetchurl, pcre }: 2 3let version = "1.0.10"; in 4 5stdenv.mkDerivation { 6 name = "classads-${version}"; 7 8 src = fetchurl { 9 url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz"; 10 sha256 = "1czgj53gnfkq3ncwlsrwnr4y91wgz35sbicgkp4npfrajqizxqnd"; 11 }; 12 13 buildInputs = [ pcre ]; 14 15 configureFlags = [ 16 "--enable-namespace" "--enable-flexible-member" 17 ]; 18 19 meta = { 20 homepage = http://www.cs.wisc.edu/condor/classad/; 21 description = "The Classified Advertisements library provides a generic means for matching resources"; 22 license = stdenv.lib.licenses.asl20; 23 platforms = stdenv.lib.platforms.unix; 24 }; 25}