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