File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,18 @@ pip install git+https://github.com/stackabletech/beku.py.git@master
21
21
22
22
Or via Nix:
23
23
24
+ <details >
25
+ <summary >NixOs</summary >
26
+
24
27
``` nix
25
28
{ lib, pkgs, ... }:
26
29
with lib;
27
30
let
28
31
beku = (import (pkgs.fetchFromGitHub {
29
32
owner = "stackabletech";
30
33
repo = "beku.py";
31
- rev = "062defa4da2ec504c38d3a21916e871fd95d03f6"; # commit hash
32
- hash = "sha256-Oq8BhByYDptD84551Rodi6T7MwI8e/6dxIX7p0xNK+A ="; # use lib.fakeHash to find new hashes when upgrading
34
+ rev = "145e8210f5786b8128e3af43f60b61f065cc2c39";
35
+ hash = "sha256-hLaIY4BE+VIMeKmS3JLOZy87OC2VuQtbX/NCIbQr2p4 ="; # use lib.fakeHash to find new hashes when upgrading
33
36
}) {}).beku;
34
37
in
35
38
{
42
45
}
43
46
```
44
47
48
+ </details >
49
+
50
+ <details >
51
+ <summary >Nix Shell</summary >
52
+
53
+ ``` nix
54
+ let
55
+ beku = pkgs.callPackage (pkgs.fetchFromGitHub {
56
+ owner = "stackabletech";
57
+ repo = "beku.py";
58
+ rev = "145e8210f5786b8128e3af43f60b61f065cc2c39";
59
+ hash = "sha256-hLaIY4BE+VIMeKmS3JLOZy87OC2VuQtbX/NCIbQr2p4="; # use lib.fakeHash to find new hashes when upgrading
60
+ } + "/beku.nix") {};
61
+ in pkgs.mkShell {
62
+ buildInputs = with pkgs; [
63
+ beku
64
+ # ...
65
+ ];
66
+
67
+ # ...
68
+ }
69
+ ```
70
+
71
+ </details >
72
+
45
73
## Usage
46
74
47
75
``` sh
You can’t perform that action at this time.
0 commit comments