mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
834 B
Nix
36 lines
834 B
Nix
{ 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 = "Synchronization tool for Lian Li Uni Controllers";
|
|
homepage = "https://github.com/EightB1ts/uni-sync";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ yunfachi ];
|
|
mainProgram = "uni-sync";
|
|
};
|
|
}
|