diff options
Diffstat (limited to 'npmPackages/once')
-rw-r--r-- | npmPackages/once/default.nix | 23 |
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; +} + |