diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-09-27 16:05:42 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-10-02 07:32:32 +0200 |
commit | 0215671c6aab24e1885074761f44c502f0bb00e2 (patch) | |
tree | 14821547641342b35644f9d63a63a46bab104253 /npmPackages/mkdirp | |
download | npm.nix-0215671c6aab24e1885074761f44c502f0bb00e2.tar.gz |
Initial PoC
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" + ]; +} |