From 038e269695764319d3b5d5be7628132ae16deca4 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 5 Oct 2019 15:53:47 +0200 Subject: Add bindings --- npmPackages/bindings/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 npmPackages/bindings/default.nix (limited to 'npmPackages/bindings') 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" + ]; +} + -- cgit v1.2.3