aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/resolve-from/default.nix
blob: e99acc2e8638003a3ad5943cd43b03a975b56e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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
  ];

}