summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/firefoxPlugins/ublock.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
committermakefu <github@syntax-fehler.de>2023-09-09 19:42:08 +0200
commit29d72c898d674d2c18fc0f4a76b5e623de0c3dfe (patch)
treefc4b0695c986a1cda6f1fbbbcbe716e203c54fa3 /lass/5pkgs/firefoxPlugins/ublock.nix
parente157ffa72856e4378aa23b096b2efff233f3cb3d (diff)
parent083229d0211096daec08673f743ccc45b1d8a0ac (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/5pkgs/firefoxPlugins/ublock.nix')
-rw-r--r--lass/5pkgs/firefoxPlugins/ublock.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/lass/5pkgs/firefoxPlugins/ublock.nix b/lass/5pkgs/firefoxPlugins/ublock.nix
deleted file mode 100644
index 29ef250e8..000000000
--- 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
- '';
-}