diff options
Diffstat (limited to 'npmPackages/mkdirp')
-rw-r--r-- | npmPackages/mkdirp/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/npmPackages/mkdirp/default.nix b/npmPackages/mkdirp/default.nix new file mode 100644 index 0000000..e8fddd6 --- /dev/null +++ b/npmPackages/mkdirp/default.nix @@ -0,0 +1,24 @@ +{ 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 + ]; + + jailbreak = true; + + files = [ + "bin" + "index.js" + ]; +} |