himitsu-firefox: init at 0.3
This commit is contained in:
parent
6a823d8f66
commit
eb04690de3
2 changed files with 48 additions and 0 deletions
46
pkgs/tools/security/himitsu-firefox/default.nix
Normal file
46
pkgs/tools/security/himitsu-firefox/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, hare
|
||||
, himitsu
|
||||
, zip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "himitsu-firefox";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
name = pname + "-src";
|
||||
owner = "~sircmpwn";
|
||||
repo = pname;
|
||||
rev = "d6d0fdb30aefc93f6ff7d48e5737557051f1ffea";
|
||||
hash = "sha256-5RbNdEGPnfDt1KDeU2LnuRsqqqMRyV/Dh2cgEWkz4vQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hare
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
himitsu
|
||||
];
|
||||
|
||||
buildFlags = [ "LIBEXECDIR=$(out)/libexec" ];
|
||||
|
||||
# Only install the native component; per the docs:
|
||||
# > To install the add-on for Firefox ESR, run make install-xpi. Be advised
|
||||
# > that this will probably not work. The recommended installation procedure
|
||||
# > for the native extension is to install it from addons.mozilla.org instead.
|
||||
installTargets = [ "install-native" ];
|
||||
installFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://git.sr.ht/~sircmpwn/himitsu-firefox";
|
||||
description = "Himitsu integration for Firefox";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ auchter ];
|
||||
inherit (hare.meta) platforms badPlatforms;
|
||||
};
|
||||
}
|
|
@ -2403,6 +2403,8 @@ with pkgs;
|
|||
|
||||
himitsu = callPackage ../tools/security/himitsu { };
|
||||
|
||||
himitsu-firefox = callPackage ../tools/security/himitsu-firefox { };
|
||||
|
||||
hinit = haskell.lib.compose.justStaticExecutables haskellPackages.hinit;
|
||||
|
||||
hostctl = callPackage ../tools/system/hostctl { };
|
||||
|
|
Loading…
Reference in a new issue