aboutsummaryrefslogtreecommitdiffhomepage
path: root/nodegit
diff options
context:
space:
mode:
authorHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-05 16:13:32 +0100
committerHussein Ait-Lahcen <hussein.ait-lahcen@fretlink.com>2018-11-05 17:14:21 +0100
commite2b929c37d847f5e63ded68c8f5ae90a4ec2d77b (patch)
tree4a2051aecee7620c4bfc23d8b73fd690cb00ec53 /nodegit
parenta60f5f961215e9a011b4a0dfe651758001f116d8 (diff)
downloadclever-tools-nix-e2b929c37d847f5e63ded68c8f5ae90a4ec2d77b.tar.gz
clever-tools-nix-e2b929c37d847f5e63ded68c8f5ae90a4ec2d77b.tar.zst
clever-tools-nix-e2b929c37d847f5e63ded68c8f5ae90a4ec2d77b.zip
upgrade to 1.1.0 and get rid of nodegit
Diffstat (limited to 'nodegit')
-rw-r--r--nodegit/default.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/nodegit/default.nix b/nodegit/default.nix
deleted file mode 100644
index 4bf6dd1..0000000
--- a/nodegit/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
1{ stdenv, fetchurl, curl, glibc, openssl }:
2
3assert stdenv.system == "x86_64-linux";
4
5stdenv.mkDerivation rec {
6 name = "nodegit-${version}-node-v51";
7 version = "0.20.3";
8
9 src = fetchurl {
10 url = "https://nodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v${version}-node-v51-linux-x64.tar.gz";
11 sha256 = "d022a88e58fa70f78b59b475fa6ecc6724d372a779b132264cf571f71bc50020";
12 };
13
14 libPath = stdenv.lib.makeLibraryPath [
15 stdenv.cc.cc
16 (curl.override {
17 sslSupport = false;
18 gnutlsSupport = true;
19 })
20 glibc
21 openssl
22 ];
23
24 installPhase = ''
25 tar --extract --file=$src Release/nodegit.node --transform 's/Release\//linux-/'
26 lib=$out/lib/nodegit.node
27 mkdir -p $out/lib
28 mv linux-nodegit.node $lib
29 '';
30
31 preFixup = ''
32 lib=$out/lib/nodegit.node
33 patchelf --set-rpath "$libPath" "$lib"
34 '';
35}