aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/once
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-12 19:25:17 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-12 19:25:17 +0200
commitcbbe87a7dd2b9b3ba45bc5833f219fc742146170 (patch)
tree6dc0aefbeb28ddbcde58f77d8e2c0c2de7939dec /npmPackages/once
parent038e269695764319d3b5d5be7628132ae16deca4 (diff)
downloadnpm.nix-cbbe87a7dd2b9b3ba45bc5833f219fc742146170.tar.gz
Add once
Diffstat (limited to 'npmPackages/once')
-rw-r--r--npmPackages/once/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/npmPackages/once/default.nix b/npmPackages/once/default.nix
new file mode 100644
index 0000000..fe7db0e
--- /dev/null
+++ b/npmPackages/once/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, buildNpmPackage, tap, wrappy }:
+
+buildNpmPackage {
+ pname = "once";
+ version = "1.4.0";
+ src = fetchurl {
+ url = "https://github.com/isaacs/once/archive/v1.4.0.tar.gz";
+ sha256 = "1ddb3cr72ad49wr51g9kcahnvcib2pvix9w8cbha2q4lfp8nbkai";
+ };
+
+ meta = {
+ description = "Run a function exactly one time";
+ homepage = "";
+ license = "ISC";
+ };
+
+ npmInputs = [
+ tap wrappy
+ ];
+
+ jailbreak = true;
+}
+