at v206 29 lines 760 B view raw
1{ stdenv, fetchurl, openldap 2, enablePython ? false, python ? null 3}: 4 5assert enablePython -> python != null; 6 7stdenv.mkDerivation rec { 8 name = "audit-2.4.4"; 9 10 src = fetchurl { 11 url = "http://people.redhat.com/sgrubb/audit/${name}.tar.gz"; 12 sha256 = "08sfcx8ykcn5jsryil15q8yqm0a8czymyqbb2sqxfc1jbx37zx95"; 13 }; 14 15 buildInputs = [ openldap ] 16 ++ stdenv.lib.optional enablePython python; 17 18 configureFlags = '' 19 ${if enablePython then "--with-python" else "--without-python"} 20 ''; 21 22 meta = { 23 description = "Audit Library"; 24 homepage = "http://people.redhat.com/sgrubb/audit/"; 25 license = stdenv.lib.licenses.gpl2; 26 platforms = stdenv.lib.platforms.linux; 27 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; 28 }; 29}