1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/p11-kit/default.nix
Vladimír Čunát b772f53acb p11-kit: do not use libiconv where not needed
Building libiconv even fails on Linux due to missing gets.
2014-10-23 10:39:09 +02:00

23 lines
587 B
Nix

{ stdenv, fetchurl, libiconvOrEmpty, pkgconfig, libffi, libtasn1 }:
stdenv.mkDerivation rec {
name = "p11-kit-0.20.2";
src = fetchurl {
url = "${meta.homepage}releases/${name}.tar.gz";
sha256 = "0z7gwmsj9hcmpk3ai2lwla59y3h9jc13xmqk5rijnv645zcm3v84";
};
postInstall = "rm -frv $out/share/gtk-doc";
configureFlags = "--without-libtasn1";
buildInputs = [ pkgconfig libffi libtasn1 ] ++ libiconvOrEmpty;
meta = {
homepage = http://p11-glue.freedesktop.org/;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}