aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/wrappy
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/wrappy
downloadnpm.nix-0215671c6aab24e1885074761f44c502f0bb00e2.tar.gz
Initial PoC
Diffstat (limited to 'npmPackages/wrappy')
-rw-r--r--npmPackages/wrappy/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/npmPackages/wrappy/default.nix b/npmPackages/wrappy/default.nix
new file mode 100644
index 0000000..d410cde
--- /dev/null
+++ b/npmPackages/wrappy/default.nix
@@ -0,0 +1,13 @@
+{ fetchurl, buildNpmPackage, tap }:
+
+buildNpmPackage rec {
+ pname = "wrappy";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://github.com/npm/${pname}/archive/v${version}.tar.gz";
+ sha256 = "036c0mmn46zkdwxh2vq14fywqch93rgbcakpn1sjg1mw5f1q44xq";
+ };
+
+ npmInputs = [ tap ];
+ jailbreak = true;
+}