tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
esteidfirefoxplugin: init at 3.12.1.1142
Arseniy Seroka
9 years ago
f6d7cefa
9765e583
+49
3 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
browsers
firefox
wrapper.nix
mozilla-plugins
esteidfirefoxplugin
default.nix
top-level
all-packages.nix
+2
pkgs/applications/networking/browsers/firefox/wrapper.nix
···
6
, supportsJDK, jrePlugin, icedtea_web
7
, trezor-bridge, bluejeans, djview4, adobe-reader
8
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
0
9
}:
10
11
## configurability of the wrapper itself
···
42
++ lib.optional (cfg.enableTrezor or false) trezor-bridge
43
++ lib.optional (cfg.enableBluejeans or false) bluejeans
44
++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
0
45
);
46
libs = [ gst_all.gstreamer gst_all.gst-plugins-base ]
47
++ lib.optionals (cfg.enableQuakeLive or false)
···
6
, supportsJDK, jrePlugin, icedtea_web
7
, trezor-bridge, bluejeans, djview4, adobe-reader
8
, google_talk_plugin, fribid, gnome3/*.gnome_shell*/
9
+
, esteidfirefoxplugin
10
}:
11
12
## configurability of the wrapper itself
···
43
++ lib.optional (cfg.enableTrezor or false) trezor-bridge
44
++ lib.optional (cfg.enableBluejeans or false) bluejeans
45
++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
46
+
++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
47
);
48
libs = [ gst_all.gstreamer gst_all.gst-plugins-base ]
49
++ lib.optionals (cfg.enableQuakeLive or false)
+45
pkgs/applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchurl, gtk2, openssl, pcsclite, pkgconfig, opensc }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
version = "3.12.1.1142";
5
+
name = "esteidfirefoxplugin-${version}";
6
+
7
+
src = fetchurl {
8
+
url = "https://installer.id.ee/media/ubuntu/pool/main/e/esteidfirefoxplugin/esteidfirefoxplugin_3.12.1.1142.orig.tar.xz";
9
+
sha256 = "0y7759x1xr00p5r3c5wpllcqqnnxh2zi74cmy4m9m690z3ywn0fx";
10
+
};
11
+
12
+
unpackPhase = ''
13
+
mkdir src
14
+
tar xf $src -C src
15
+
cd src
16
+
'';
17
+
18
+
buildInputs = [ gtk2 openssl pcsclite pkgconfig opensc ];
19
+
20
+
buildPhase = ''
21
+
sed -i "s|opensc-pkcs11.so|${opensc}/lib/pkcs11/opensc-pkcs11.so|" Makefile
22
+
make plugin
23
+
'';
24
+
25
+
installPhase = ''
26
+
plugins=$out/lib/mozilla/plugins
27
+
mkdir -p $plugins
28
+
cp -a npesteid-firefox-plugin.so $plugins/
29
+
rp=$(patchelf --print-rpath $plugins/npesteid-firefox-plugin.so)
30
+
patchelf --set-rpath "$rp:${opensc}/lib:${opensc}/lib/pkcs11" $plugins/npesteid-firefox-plugin.so
31
+
'';
32
+
33
+
passthru.mozillaPlugin = "/lib/mozilla/plugins";
34
+
35
+
dontStrip = true;
36
+
dontPatchELF = true;
37
+
38
+
meta = with stdenv.lib; {
39
+
description = "Firefox ID card signing plugin";
40
+
homepage = "http://www.id.ee/";
41
+
license = licenses.lgpl2;
42
+
platforms = platforms.linux;
43
+
maintainers = [ maintainers.jagajaga ];
44
+
};
45
+
}
+2
pkgs/top-level/all-packages.nix
···
2979
};
2980
2981
qesteidutil = qt5.callPackage ../tools/security/qesteidutil { } ;
0
0
2982
2983
qgifer = callPackage ../applications/video/qgifer {
2984
giflib = giflib_4_1;
···
2979
};
2980
2981
qesteidutil = qt5.callPackage ../tools/security/qesteidutil { } ;
2982
+
qdigidoc = qt5.callPackage ../tools/security/qdigidoc { } ;
2983
+
esteidfirefoxplugin = callPackage ../applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin { };
2984
2985
qgifer = callPackage ../applications/video/qgifer {
2986
giflib = giflib_4_1;