mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Add chrome-token-signing
This commit is contained in:
parent
e29fa386aa
commit
068374c0ae
27
pkgs/tools/security/chrome-token-signing/default.nix
Normal file
27
pkgs/tools/security/chrome-token-signing/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, qmake, pcsclite, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chrome-token-signing-${version}";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-eid";
|
||||
repo = "chrome-token-signing";
|
||||
rev = "v${version}";
|
||||
sha256 = "1icbr5gyf7qqk1qjgcrf6921ws84j5h8zrpzw5mirq4582l5gsav";
|
||||
};
|
||||
|
||||
buildInputs = [ qmake pcsclite pkgconfig ];
|
||||
dontUseQmakeConfigure = true;
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace host-linux/ee.ria.esteid.json --replace /usr $out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -D -t $out/bin host-linux/chrome-token-signing
|
||||
# TODO: wire these up
|
||||
install -D -t $out/etc/chromium/native-messaging-hosts host-linux/ee.ria.esteid.json
|
||||
install -D -t $out/lib/mozilla/native-messaging-hosts host-linux/ff/ee.ria.esteid.json
|
||||
'';
|
||||
}
|
@ -22829,6 +22829,8 @@ with pkgs;
|
||||
|
||||
chrome-gnome-shell = callPackage ../desktops/gnome-3/extensions/chrome-gnome-shell {};
|
||||
|
||||
chrome-token-signing = libsForQt5.callPackage ../tools/security/chrome-token-signing {};
|
||||
|
||||
NSPlist = callPackage ../development/libraries/NSPlist {};
|
||||
|
||||
PlistCpp = callPackage ../development/libraries/PlistCpp {};
|
||||
|
Loading…
Reference in New Issue
Block a user