aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: b47a4bce390d8c38067272c4ce6124caa52a41ba (plain) (blame)
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
# clever-tools-nix

Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools

## What's in it

2 derivations to install
- nodegit.node 0.20.3 for node v51, from prebuilt archive
- clever-tools 0.9.3, from prebuilt archive

Main job of those derivations is to use patchelf to make it nix compliant.

## How to use it

```nix
{ pkgs ? import <nixpkgs> {} }: with pkgs;

let clever-tools = fetchFromGitHub {
                     owner  = "fretlink";
                     repo   = "clever-tools-nix";
                     rev    = "DESIRED_REVISION_HASH";
                     sha256 = "CONTENT_HASH";
                   };
in (import clever-tools {}).latest # select appropriate version
```