aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'npmPackages/bindings')
-rw-r--r--npmPackages/bindings/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/npmPackages/bindings/default.nix b/npmPackages/bindings/default.nix
new file mode 100644
index 0000000..c678a12
--- /dev/null
+++ b/npmPackages/bindings/default.nix
@@ -0,0 +1,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"
+ ];
+}
+