summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/firefoxPlugins
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-07 12:26:31 +0200
committerlassulus <git@lassul.us>2023-09-07 13:50:26 +0200
commitf55307fd73af235069744dd5155fda0bc73fe613 (patch)
treef048d7750a50e48493505a08784c96d07d291f89 /lass/5pkgs/firefoxPlugins
parent85ae348bf3f53125c8281669a32bf007dc0063be (diff)
lass: migrate away
Diffstat (limited to 'lass/5pkgs/firefoxPlugins')
-rw-r--r--lass/5pkgs/firefoxPlugins/noscript.nix28
-rw-r--r--lass/5pkgs/firefoxPlugins/ublock.nix31
-rw-r--r--lass/5pkgs/firefoxPlugins/vimperator.nix19
3 files changed, 0 insertions, 78 deletions
diff --git a/lass/5pkgs/firefoxPlugins/noscript.nix b/lass/5pkgs/firefoxPlugins/noscript.nix
deleted file mode 100644
index 67a00a1b..00000000
--- a/lass/5pkgs/firefoxPlugins/noscript.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ fetchgit, stdenv, bash, zip }:
-
-stdenv.mkDerivation rec {
- name = "noscript";
- id = "{73a6fe31-595d-460b-a920-fcc0f8843232}";
-
- src = fetchgit {
- url = "https://github.com/avian2/noscript";
- rev = "c900a079793868bb080ab1e23522d29dc121b4c6";
- sha256 = "1y06gh5a622yrsx0h7v92qnvdi97i54ln09zc1lvk8x430z5bdly";
- };
-
- buildInputs = [ zip ];
-
- patchPhase = ''
- substituteInPlace "version.sh" \
- --replace "/bin/bash" "${bash}/bin/bash"
- '';
-
- buildPhase = ''
- ./makexpi.sh
- '';
-
- installPhase = ''
- mkdir -p $out/
- cp *.xpi $out/${id}.xpi
- '';
-}
diff --git a/lass/5pkgs/firefoxPlugins/ublock.nix b/lass/5pkgs/firefoxPlugins/ublock.nix
deleted file mode 100644
index 29ef250e..00000000
--- a/lass/5pkgs/firefoxPlugins/ublock.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ fetchgit, stdenv, bash, python, zip }:
-
-stdenv.mkDerivation rec {
- name = "ublock";
- id = "{2b10c1c8-a11f-4bad-fe9c-1c11e82cac42}";
-
- src = fetchgit {
- url = "https://github.com/chrisaljoudi/uBlock";
- rev = "a70a50052a7914cbf86d46a725812b98434d8c70";
- sha256 = "1qfzy79f8x01i33x0m95k833z1jgxjwb8wvlr6fj6id1kxfvzh77";
- };
-
- buildInputs = [
- zip
- python
- ];
-
- patchPhase = ''
- substituteInPlace "tools/make-firefox.sh" \
- --replace "/bin/bash" "${bash}/bin/bash"
- '';
-
- buildPhase = ''
- tools/make-firefox.sh all
- '';
-
- installPhase = ''
- mkdir -p $out/
- cp dist/build/uBlock.firefox.xpi $out/${id}.xpi
- '';
-}
diff --git a/lass/5pkgs/firefoxPlugins/vimperator.nix b/lass/5pkgs/firefoxPlugins/vimperator.nix
deleted file mode 100644
index dabef3d2..00000000
--- a/lass/5pkgs/firefoxPlugins/vimperator.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ fetchgit, stdenv, zip }:
-
-stdenv.mkDerivation rec {
- name = "vimperator";
- id = "vimperator@mozdev.org";
-
- src = fetchgit {
- url = "https://github.com/vimperator/vimperator-labs.git";
- rev = "ba7d8e72516fdc22246748c8183d7bc90f6fb073";
- sha256 = "0drz67qm5hxxzw699rswlpjkg4p2lfipx119pk1nyixrqblcsvq2";
- };
-
- buildInputs = [ zip ];
-
- installPhase = ''
- mkdir -p $out/
- cp downloads/vimperator*.xpi $out/${id}.xpi
- '';
-}