diff options
Diffstat (limited to 'npmPackages/has-flag')
-rw-r--r-- | npmPackages/has-flag/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/npmPackages/has-flag/default.nix b/npmPackages/has-flag/default.nix new file mode 100644 index 0000000..29c17fc --- /dev/null +++ b/npmPackages/has-flag/default.nix @@ -0,0 +1,23 @@ +{ fetchurl, buildNpmPackage, ava, tsd, xo }: + +buildNpmPackage { + pname = "has-flag"; + version = "4.0.0"; + src = fetchurl { + url = "https://github.com/sindresorhus/has-flag/archive/v4.0.0.tar.gz"; + sha256 = "0cc7wzqfmg9msk825zv95bzwp861psfz8gd9qiiy7sc7rjzvpnpz"; + }; + + meta = { + description = "Check if argv has a specific flag"; + homepage = ""; + license = "MIT"; + }; + + npmInputs = [ + ava tsd xo + ]; + + jailbreak = true; +} + |