aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/bindings/default.nix
blob: c678a12220c55828a7d49a98d4f26735b2e7d3f4 (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
{ fetchurl, buildNpmPackage, file-uri-to-path }:

buildNpmPackage {
  pname = "bindings";
  version = "1.5.0";
  src = fetchurl {
    url = "https://github.com/TooTallNate/node-bindings/archive/1.5.0.tar.gz";
    sha256 = "1l4581b6284fgjixq7ji9km9mzrqq13knz3g4a9a0s2z40lrwpwk";
  };

  meta = {
    description = "Helper module for loading your native module's .node file";
    homepage = "https://github.com/TooTallNate/node-bindings";
    license = "MIT";
  };

  npmInputs = [
    file-uri-to-path
  ];

  files = [
    "bindings.js"
  ];
}