aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/resolve-from
diff options
context:
space:
mode:
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;
+}
+