mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
more changes
This commit is contained in:
24
pkgs/misc/bypass-paywalls-clean/package.nix
Normal file
24
pkgs/misc/bypass-paywalls-clean/package.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
# Based on:
|
||||
# https://git.sr.ht/~rycee/nur-expressions/tree/master/item/pkgs/firefox-addons/default.nix#L34
|
||||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "bypass-paywalls-clean";
|
||||
version = "4.0.5.3";
|
||||
src = builtins.fetchGit {
|
||||
url = "https://gitflic.ru/magnolia1234/bpc_uploads";
|
||||
ref = "main";
|
||||
# owner = "magnolia1234";
|
||||
# repo = "bpc_uploads";
|
||||
rev = "365832a498fa58cb124e74e3836edc182178c6de";
|
||||
# sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||
};
|
||||
preferLocalBuild = true;
|
||||
allowSubstitutes = true;
|
||||
buildCommand = ''
|
||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
mkdir -p "$dst"
|
||||
install -v -m644 "${src}" "$dst/magnolia@12.34.xpi"
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user