mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
packages: Add new-tab-identity
This seems to work, which is great. For some reason it wasn't being initialized properly inside the virtual machine but it does work on actual devices.
This commit is contained in:
parent
44fecbf9e4
commit
4ec9294c04
@ -23,6 +23,7 @@ in
|
|||||||
ublock-origin
|
ublock-origin
|
||||||
yomitan
|
yomitan
|
||||||
redlib
|
redlib
|
||||||
|
new-tab-identity
|
||||||
];
|
];
|
||||||
|
|
||||||
search = {
|
search = {
|
||||||
|
34
packages/new-tab-identity.nix
Normal file
34
packages/new-tab-identity.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildNpmPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage {
|
||||||
|
pname = "new-tab-identity";
|
||||||
|
version = "0-unstable-2024-08-19";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "donovanglover";
|
||||||
|
repo = "new-tab-identity";
|
||||||
|
rev = "bf61dbda21d37b063062039ca246611ee83299ff";
|
||||||
|
hash = "sha256-/1id7MHWxkPpuiSWqLYGYQBk5kNxBOUbkexkvTZDkfw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-M0WPgg91FupGz4383gHf13kSsmAkjygmKZ5IxsM3VE0=";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 dist/new_tab_identity-1.0.zip "$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/some-name@example.org.xpi"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/donovanglover/new-tab-identity";
|
||||||
|
description = "Browse the web from multiple VPN locations simultaneously";
|
||||||
|
maintainers = with lib.maintainers; [ donovanglover ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user