mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
parent
2f878b30c5
commit
f66cb20232
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
, runCommand
|
||||
, web-ext
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
@ -16,6 +18,13 @@ buildNpmPackage rec {
|
||||
|
||||
npmDepsHash = "sha256-KPBKUjCxva11w/E+Qhlx+1vikpCL7Hr9MiKenYHEVSU=";
|
||||
|
||||
npmBuildFlags = [ "--production" ];
|
||||
|
||||
passthru.tests.help = runCommand "${pname}-tests" { } ''
|
||||
${web-ext}/bin/web-ext --help
|
||||
touch $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A command line tool to help build, run, and test web extensions";
|
||||
homepage = "https://github.com/mozilla/web-ext";
|
||||
|
Loading…
Reference in New Issue
Block a user