]>
Commit | Line | Data |
---|---|---|
080ca3f3 | 1 | # clever-tools-nix |
c7cb5f23 | 2 | |
080ca3f3 | 3 | Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools |
c7cb5f23 FM |
4 | |
5 | ## What's in it | |
6 | ||
7 | 2 derivations to install | |
8 | - nodegit.node 0.20.3 for node v51, from prebuilt archive | |
9 | - clever-tools 0.9.3, from prebuilt archive | |
10 | ||
11 | Main job of those derivations is to use patchelf to make it nix compliant. | |
12 | ||
13 | ## How to use it | |
14 | ||
15 | ```nix | |
16 | { pkgs ? import <nixpkgs> {} }: | |
17 | ||
18 | let | |
19 | clever-tools = pkgs.fetchFromGitHub | |
20 | { owner = "fmenou"; | |
21 | repo = "clever-tools-nix"; | |
22 | rev = "7c2a7868b387ffd064dd14c51f7b18224cdc5c88"; | |
23 | sha256 = "0r4bc4k90xpq325djvsyix9a6hiabmd4nba14j0plgdrwgzb36rh"; | |
24 | }; | |
25 | ||
26 | in import clever-tools { inherit pkgs; } | |
27 | ``` |