diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-10-05 14:43:58 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-10-05 14:43:58 +0200 |
commit | 8477ef075b02a9e7fff5cbccf8843f520f5f1bb1 (patch) | |
tree | b9dd4daa7d6392f94a8296cfe675f90c322c0cef /npmPackages/has-flag | |
parent | 953ba669208dd979e4286a5d2332905ea5cff346 (diff) | |
download | npm.nix-8477ef075b02a9e7fff5cbccf8843f520f5f1bb1.tar.gz |
Add has-flag
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; +} + |