aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/minimist
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/minimist
downloadnpm.nix-0215671c6aab24e1885074761f44c502f0bb00e2.tar.gz
Initial PoC
Diffstat (limited to 'npmPackages/minimist')
-rw-r--r--npmPackages/minimist/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/npmPackages/minimist/default.nix b/npmPackages/minimist/default.nix
new file mode 100644
index 0000000..093bde5
--- /dev/null
+++ b/npmPackages/minimist/default.nix
@@ -0,0 +1,16 @@
+{ fetchgit, buildNpmPackage, covert, tap, tape }:
+
+buildNpmPackage rec {
+ pname = "minimist";
+ version = "1.2.0";
+ src = fetchgit {
+ url = "https://github.com/substack/minimist.git";
+ rev = "4cf45a26b9af5f4ddab63107f4007485e576cfd3";
+ sha256 = "0c7zrb4s7x3alx38pp5s844a0v3fy8wb0y1x5lzg5w0b1m3nshlx";
+ };
+
+ npmInputs = [ covert tap tape ];
+ jailbreak = true;
+
+ files = [ "index.js" ];
+}