Merge pull request #270001 from h7x4/pkgs-update-cyme
cyme: 1.5.2 -> 1.6.0, add version test
This commit is contained in:
commit
6e98610c77
2 changed files with 1156 additions and 4 deletions
1139
pkgs/by-name/cy/cyme/Cargo.lock
generated
Normal file
1139
pkgs/by-name/cy/cyme/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -8,20 +8,28 @@
|
|||
, libusb1
|
||||
, udev
|
||||
, nix-update-script
|
||||
, testers
|
||||
, cyme
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cyme";
|
||||
version = "1.5.2";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tuna-f1sh";
|
||||
repo = "cyme";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Y5TcRcbqarcKRDWCI36YhbLJFU+yrpAE3vRGArbfr0U=";
|
||||
hash = "sha256-97sxK2zhUKBS238F9mNk8a2VbTVpvbDlN1yDas4Fls4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ycFNNTZ7AU4WRnf1+RJB7KxQKVdJbubB28tS/GyU0bI=";
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"libudev-sys-0.1.4" = "sha256-7dUqPH8bQ/QSBIppxQbymwQ44Bvi1b6N2AMUylbyKK8=";
|
||||
"libusb1-sys-0.6.4" = "sha256-Y3K3aEZnpLud/g4Tx+1HDEkNRKi5s4Fo0QSWya/L+L4=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
@ -40,7 +48,12 @@ rustPlatform.buildRustPackage rec {
|
|||
"--skip=test_run"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
package = cyme;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tuna-f1sh/cyme";
|
||||
|
|
Loading…
Reference in a new issue