From a235f86fa876af4c2435f54932f1d70c3547a16c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 12 Oct 2019 21:34:23 +0200 Subject: Add fs.realpath --- npmPackages/fs.realpath/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 npmPackages/fs.realpath/default.nix (limited to 'npmPackages/fs.realpath') diff --git a/npmPackages/fs.realpath/default.nix b/npmPackages/fs.realpath/default.nix new file mode 100644 index 0000000..c18b12f --- /dev/null +++ b/npmPackages/fs.realpath/default.nix @@ -0,0 +1,21 @@ +{ fetchurl, buildNpmPackage, tap }: + +buildNpmPackage { + pname = "fs.realpath"; + version = "1.0.0"; + src = fetchurl { + url = "https://github.com/isaacs/fs.realpath/archive/v1.0.0.tar.gz"; + sha256 = "16ybsq9mxm1cwwpx2j3k2pffznsqil13ifkwf6q8q2dpavmsy5k2"; + }; + + meta = { + description = "Use node's fs.realpath, but fall back to the JS implementation if the native one fails"; + homepage = ""; + license = "ISC"; + }; + + npmInputs = [ + tap + ]; +} + -- cgit v1.2.3