From cbbe87a7dd2b9b3ba45bc5833f219fc742146170 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 12 Oct 2019 19:25:17 +0200 Subject: Add once --- npmPackages/once/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 npmPackages/once/default.nix (limited to 'npmPackages/once') 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; +} + -- cgit v1.2.3