Skip to content

Commit ff707f8

Browse files
committed
cyme: 1.8.5 -> 2.1.2
Changelog: https://github.com/tuna-f1sh/cyme/blob/v2.1.2/CHANGELOG.md Diff: tuna-f1sh/cyme@v1.8.5...v2.1.2 [libusb is an optional dependency since 2.0.0](tuna-f1sh/cyme@9b60ec4)
1 parent a5ac07c commit ff707f8

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

pkgs/by-name/cy/cyme/package.nix

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@
55
pkg-config,
66
stdenv,
77
darwin,
8-
libusb1,
98
versionCheckHook,
109
nix-update-script,
1110
}:
1211

1312
rustPlatform.buildRustPackage rec {
1413
pname = "cyme";
15-
version = "1.8.5";
14+
version = "2.1.2";
1615

1716
src = fetchFromGitHub {
1817
owner = "tuna-f1sh";
1918
repo = "cyme";
2019
rev = "v${version}";
21-
hash = "sha256-4lnW6p7MaAZdvyXddIoB8TuEQSCmBYOwyvOA1r2ZKxk=";
20+
hash = "sha256-KAHCeM1rAPGi98PrcVJtzkhTWGWFwf37VuSQTjqXSEg=";
2221
};
2322

2423
useFetchCargoVendor = true;
25-
cargoHash = "sha256-eUBhMI/ff99SEU76yYvCzEvyLHtQqXgk/bHqmxPQlnc=";
24+
cargoHash = "sha256-LwBTDBrsigt8H6PFuuGndiMlj5d8v68dyHipVYOGKVk=";
2625

2726
nativeBuildInputs =
2827
[
@@ -32,20 +31,14 @@ rustPlatform.buildRustPackage rec {
3231
darwin.DarwinTools
3332
];
3433

35-
buildInputs = [
36-
libusb1
34+
checkFlags = [
35+
# doctest that requires access outside sandbox
36+
"--skip=udev::hwdb::get"
37+
# - system_profiler is not available in the sandbox
38+
# - workaround for "Io Error: No such file or directory"
39+
"--skip=test_run"
3740
];
3841

39-
checkFlags =
40-
[
41-
# doctest that requires access outside sandbox
42-
"--skip=udev::hwdb::get"
43-
]
44-
++ lib.optionals stdenv.hostPlatform.isDarwin [
45-
# system_profiler is not available in the sandbox
46-
"--skip=test_run"
47-
];
48-
4942
nativeInstallCheckInputs = [
5043
versionCheckHook
5144
];

0 commit comments

Comments
 (0)