at v206 27 lines 683 B view raw
1{ stdenv, fetchurl, libiconv, pkgconfig, libffi, libtasn1 }: 2 3stdenv.mkDerivation rec { 4 name = "p11-kit-0.23.1"; 5 6 src = fetchurl { 7 url = "${meta.homepage}releases/${name}.tar.gz"; 8 sha256 = "1i3a1wdpagm0p3y1bwaz5x5rjhcpqbcrnhkcp10p259vkxk72wz5"; 9 }; 10 11 buildInputs = [ pkgconfig libffi libtasn1 libiconv ]; 12 13 configureFlags = [ 14 "--sysconfdir=/etc" 15 "--localstatedir=/var" 16 "--without-trust-paths" 17 ]; 18 19 installFlags = [ "exampledir=\${out}/etc/pkcs11" ]; 20 21 meta = with stdenv.lib; { 22 homepage = http://p11-glue.freedesktop.org/; 23 platforms = platforms.all; 24 maintainers = with maintainers; [ urkud wkennington ]; 25 license = licenses.mit; 26 }; 27}