blob: 6124e621dfb9e2a01abc36b16b31e5689db99014 (
plain) (
blame)
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
|
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, libudev-zero
}:
rustPlatform.buildRustPackage rec {
pname = "uni-sync";
version = "0.2.0";
src = fetchFromGitHub {
owner = "EightB1ts";
repo = pname;
rev = "ca349942c06fabcc028ce24e79fc6ce7c758452b";
hash = "sha256-K2zX3rKtTaKO6q76xlxX+rDLL0gEsJ2l8x/s1vsp+ZQ=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libudev-zero ];
patches = [
./config_path.patch
./ignore_read-only_filesystem.patch
];
cargoHash = "sha256-DdmjP0h15cXkHJZxvOcINgoZ/EhTgu/7iYb+bgsIXxU=";
meta = with lib; {
description = "A synchronization tool for Lian Li Uni Controllers";
homepage = "https://github.com/EightB1ts/uni-sync";
license = licenses.mit;
maintainers = with maintainers; [ yunfachi ];
mainProgram = "uni-sync";
};
}
|