From 8477ef075b02a9e7fff5cbccf8843f520f5f1bb1 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 5 Oct 2019 14:43:58 +0200 Subject: Add has-flag --- npmPackages/has-flag/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 npmPackages/has-flag/default.nix (limited to 'npmPackages/has-flag') 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; +} + -- cgit v1.2.3