-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
44 lines (39 loc) · 909 Bytes
/
default.nix
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib, fetchFromGitHub, rustPlatform }:
let
pkgs = import <nixpkgs> {};
in
rustPlatform.buildRustPackage rec {
pname = "fateful";
version = "0.1.0";
src = fetchFromGitHub {
owner = "commonkestrel";
repo = pname;
rev = "e8897cc";
hash = "sha256-910xg3yq5Ne6XhJ71RVqZW2rAdPciYvIv+Zj5KG86Y0=";
};
buildInputs = with pkgs; [
pkg-config
openssl.dev
openssl
systemd
wayland
libGL
xorg.libX11
xorg.libXrandr
xorg.libXi
xorg.libXcursor
libxkbcommon
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"fateful_macros-0.1.0" = "sha256-heaUewDYEtEW/uhIWeinSGoXDwKSpR75YlKE1xGSMEk=";
};
};
meta = {
description = "A command-line utility for working with the f8ful CPU";
homepage = "https://github.com/commonkestrel/fateful";
licence = lib.licences.mit;
maintainers = ["commonkestrel"];
};
}