diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-08-20 20:58:52 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-08-21 11:30:33 -0700 |
commit | 4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a (patch) | |
tree | 5bcdbd766ba6dee395b8895360bb4def5db16f44 /pkgs/development/tools/web-ext | |
parent | 77596305a65872623b91d3d723346a80ba13172f (diff) | |
download | nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar.gz nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar.bz2 nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar.lz nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar.xz nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.tar.zst nixlib-4c1385c4e5d2f40caa73f2c76ce5a189920c3c4a.zip |
web-ext: use buildNpmPackage
Diffstat (limited to 'pkgs/development/tools/web-ext')
-rw-r--r-- | pkgs/development/tools/web-ext/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/web-ext/default.nix b/pkgs/development/tools/web-ext/default.nix new file mode 100644 index 000000000000..acadcd94b57f --- /dev/null +++ b/pkgs/development/tools/web-ext/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "web-ext"; + version = "7.6.2"; + + src = fetchFromGitHub { + owner = "mozilla"; + repo = "web-ext"; + rev = version; + hash = "sha256-tFMngcoHFA3QmR0AK68elUVpli37PsVlcL978o7DQCs="; + }; + + npmDepsHash = "sha256-KPBKUjCxva11w/E+Qhlx+1vikpCL7Hr9MiKenYHEVSU="; + + meta = { + description = "A command line tool to help build, run, and test web extensions"; + homepage = "https://github.com/mozilla/web-ext"; + license = lib.licenses.mpl20; + mainProgram = "web-ext"; + maintainers = with lib.maintainers; [ ]; + }; +} |