Commit 126aa5c 1 parent e8897cc commit 126aa5c Copy full SHA for 126aa5c
File tree 1 file changed +46
-0
lines changed
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , fetchFromGitHub , rustPlatform } :
2
+
3
+ let
4
+ pkgs = import <nixpkgs> { } ;
5
+ in
6
+ rustPlatform . buildRustPackage rec {
7
+ pname = "fateful" ;
8
+ version = "0.1.0" ;
9
+
10
+ src = fetchFromGitHub {
11
+ owner = "commonkestrel" ;
12
+ repo = pname ;
13
+ rev = "e8897cc" ;
14
+ hash = "sha256-910xg3yq5Ne6XhJ71RVqZW2rAdPciYvIv+Zj5KG86Y0=" ;
15
+ } ;
16
+
17
+ nativeBuildInputs = with pkgs ; [
18
+ pkg-config
19
+ openssl . dev
20
+ openssl
21
+ systemd
22
+ ] ;
23
+
24
+ buildInputs = with pkgs ; [
25
+ openssl . dev
26
+ openssl
27
+ systemd
28
+ wayland
29
+ libGL
30
+ libxkbcommon
31
+ ] ;
32
+
33
+ cargoLock = {
34
+ lockFile = ./Cargo.lock ;
35
+ outputHashes = {
36
+ "fateful_macros-0.1.0" = "sha256-heaUewDYEtEW/uhIWeinSGoXDwKSpR75YlKE1xGSMEk=" ;
37
+ } ;
38
+ } ;
39
+
40
+ meta = {
41
+ description = "A command-line utility for working with the f8ful CPU" ;
42
+ homepage = "https://github.com/commonkestrel/fateful" ;
43
+ licence = lib . licences . mit ;
44
+ maintainers = [ "commonkestrel" ] ;
45
+ } ;
46
+ }
You can’t perform that action at this time.
0 commit comments