aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/mkdirp/default.nix
blob: 275abe04f580e8060865669256faf5f6b13ba425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ fetchgit, buildNpmPackage, minimist, mock-fs, tap }:

buildNpmPackage rec {
  pname = "mkdirp";
  version = "0.5.1";
  src = fetchgit {
    url = "https://github.com/substack/node-mkdirp.git";
    rev = "f2003bbcffa80f8c9744579fabab1212fc84545a";
    sha256 = "0qc3l6571aknhlmzcyaah3plmf852cl160jihy3l4b05j25qv45a";
  };

  npmInputs = [
    minimist # only for bin/cmd.js
    mock-fs
    tap
  ];


  files = [
    "bin"
    "index.js"
  ];
}