aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/resolve-from
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:48:30 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 14:48:30 +0200
commit76ed438b3db2ce88262d12907a53d8db60081067 (patch)
tree0b9e553d3b62864f8845ff6542381eb8f193923b /npmPackages/resolve-from
parent8477ef075b02a9e7fff5cbccf8843f520f5f1bb1 (diff)
downloadnpm.nix-76ed438b3db2ce88262d12907a53d8db60081067.tar.gz
Add resolve-from
Diffstat (limited to 'npmPackages/resolve-from')
-rw-r--r--npmPackages/resolve-from/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/npmPackages/resolve-from/default.nix b/npmPackages/resolve-from/default.nix
new file mode 100644
index 0000000..2c7cd47
--- /dev/null
+++ b/npmPackages/resolve-from/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, buildNpmPackage, ava, tsd, xo }:
+
+buildNpmPackage {
+ pname = "resolve-from";
+ version = "5.0.0";
+ src = fetchurl {
+ url = "https://github.com/sindresorhus/resolve-from/archive/v5.0.0.tar.gz";
+ sha256 = "1ynbq4077lsbyxbc96nxalcj885lpcp0vahi65ziir8lzkya6qvq";
+ };
+
+ meta = {
+ description = "Resolve the path of a module like `require.resolve()` but from a given path";
+ homepage = "";
+ license = "MIT";
+ };
+
+ npmInputs = [
+ ava tsd xo
+ ];
+
+ jailbreak = true;
+}
+