9 stdenv.mkDerivation rec {
10 pname = "himitsu-firefox";
13 src = fetchFromSourcehut {
14 name = pname + "-src";
17 rev = "d6d0fdb30aefc93f6ff7d48e5737557051f1ffea";
18 hash = "sha256-5RbNdEGPnfDt1KDeU2LnuRsqqqMRyV/Dh2cgEWkz4vQ=";
31 export HARECACHE=$(mktemp -d)
34 buildFlags = [ "LIBEXECDIR=$(out)/libexec" ];
36 # Only install the native component; per the docs:
37 # > To install the add-on for Firefox ESR, run make install-xpi. Be advised
38 # > that this will probably not work. The recommended installation procedure
39 # > for the native extension is to install it from addons.mozilla.org instead.
40 installTargets = [ "install-native" ];
41 installFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
44 homepage = "https://git.sr.ht/~sircmpwn/himitsu-firefox";
45 description = "Himitsu integration for Firefox";
46 license = licenses.gpl3Only;
47 maintainers = with maintainers; [ auchter ];
48 inherit (hare.meta) platforms badPlatforms;