]> git.immae.eu Git - github/fretlink/clever-tools-nix.git/blob - README.md
refact: update example
[github/fretlink/clever-tools-nix.git] / README.md
1 # clever-tools-nix
2
3 Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools
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> {} }: with pkgs;
17
18 let clever-tools = fetchFromGitHub {
19 owner = "fretlink";
20 repo = "clever-tools-nix";
21 rev = "DESIRED_REVISION_HASH";
22 sha256 = "CONTENT_HASH";
23 };
24 in (import clever-tools {}).latest # select appropriate version
25 ```