cyme: 1.8.5 -> 2.1.2
Changelog: https://github.com/tuna-f1sh/cyme/blob/v2.1.2/CHANGELOG.md Diff: https://github.com/tuna-f1sh/cyme/compare/v1.8.5...v2.1.2 [libusb is an optional dependency since 2.0.0](https://github.com/tuna-f1sh/cyme/commit/9b60ec40e148941e19ecc08953052e499da721f2)
This commit is contained in:
@@ -5,24 +5,23 @@
|
||||
pkg-config,
|
||||
stdenv,
|
||||
darwin,
|
||||
libusb1,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cyme";
|
||||
version = "1.8.5";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tuna-f1sh";
|
||||
repo = "cyme";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4lnW6p7MaAZdvyXddIoB8TuEQSCmBYOwyvOA1r2ZKxk=";
|
||||
hash = "sha256-KAHCeM1rAPGi98PrcVJtzkhTWGWFwf37VuSQTjqXSEg=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-eUBhMI/ff99SEU76yYvCzEvyLHtQqXgk/bHqmxPQlnc=";
|
||||
cargoHash = "sha256-LwBTDBrsigt8H6PFuuGndiMlj5d8v68dyHipVYOGKVk=";
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
@@ -32,20 +31,14 @@ rustPlatform.buildRustPackage rec {
|
||||
darwin.DarwinTools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libusb1
|
||||
checkFlags = [
|
||||
# doctest that requires access outside sandbox
|
||||
"--skip=udev::hwdb::get"
|
||||
# - system_profiler is not available in the sandbox
|
||||
# - workaround for "Io Error: No such file or directory"
|
||||
"--skip=test_run"
|
||||
];
|
||||
|
||||
checkFlags =
|
||||
[
|
||||
# doctest that requires access outside sandbox
|
||||
"--skip=udev::hwdb::get"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# system_profiler is not available in the sandbox
|
||||
"--skip=test_run"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user