06c6d4696d
Also, in case of collectd, the -lgcc_s shouldn't be needed anymore, as the library is in ${glibc}/lib/ now, which is practically always on RPATH. In case of seyren it was some stdenv change uncovering the mistake of putting src into buildInputs.
37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pkgconfig, openssl, glib, libX11, gtk2, gettext, intltool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "fribid-${version}";
|
|
version = "1.0.4";
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = "https://fribid.se/releases/source/${name}.tar.bz2";
|
|
sha256 = "a679f3a0534d5f05fac10b16b49630a898c0b721cfa24d2c827fa45485476649";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig openssl libX11 gtk2 glib gettext intltool ];
|
|
patches = [
|
|
./translation-xgettext-to-intltool.patch
|
|
./plugin-linkfix.patch
|
|
./ipc-lazytrace.patch
|
|
];
|
|
|
|
postPatch = "substituteInPlace plugin/pluginutil.c --replace strndup strndup_";
|
|
|
|
passthru.mozillaPlugin = "/lib/mozilla/plugins";
|
|
|
|
meta = {
|
|
description = "A browser plugin to manage Swedish BankID:s";
|
|
longDescription = ''
|
|
FriBID is an open source software for the Swedish e-id system
|
|
called BankID. FriBID also supports processor architectures and
|
|
Linux/BSD distributions that the official software doesn't
|
|
support.
|
|
'';
|
|
homepage = http://fribid.se;
|
|
license = [ "GPLv2" "MPLv1" ];
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|