aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/mkdirp
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-09-27 16:05:42 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-02 07:32:32 +0200
commit0215671c6aab24e1885074761f44c502f0bb00e2 (patch)
tree14821547641342b35644f9d63a63a46bab104253 /npmPackages/mkdirp
downloadnpm.nix-0215671c6aab24e1885074761f44c502f0bb00e2.tar.gz
Initial PoC
Diffstat (limited to 'npmPackages/mkdirp')
-rw-r--r--npmPackages/mkdirp/default.nix24
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"
+ ];
+}