aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/has-flag/default.nix
blob: 29c17fc0b6a343d30e6b101b1a1e5a765425e7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}