aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/file-uri-to-path/default.nix
blob: fdd5e41302ed11d68e896a4e5fc1a6a233d4cdd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ fetchurl, buildNpmPackage, mocha }:

buildNpmPackage {
  pname = "file-uri-to-path";
  version = "1.0.0";
  src = fetchurl {
    url = "https://github.com/TooTallNate/file-uri-to-path/archive/1.0.0.tar.gz";
    sha256 = "0jqdcichbcb73d7bwjng9grycwhqiaz9777nm4bxska4qbrvxx2f";
  };

  meta = {
    description = "Convert a file: URI to a file path";
    homepage = "https://github.com/TooTallNate/file-uri-to-path";
    license = "MIT";
  };

  npmInputs = [
    mocha
  ];

  files = [
    "index.d.ts"
    "index.ts"
  ];

  jailbreak = true;
}