aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/bindings
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 15:53:47 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 15:53:47 +0200
commit038e269695764319d3b5d5be7628132ae16deca4 (patch)
treee9edeef3664a68b1647ad60a2b35c59d63abe1ce /npmPackages/bindings
parent562181adf1f6bca4d13d084105d050f87d559f4d (diff)
downloadnpm.nix-038e269695764319d3b5d5be7628132ae16deca4.tar.gz
Add bindings
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"
+ ];
+}
+