mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
veryl: 0.13.0 -> 0.13.1 (#348003)
This commit is contained in:
commit
d03c3da42b
@ -3,6 +3,7 @@
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
installShellFiles,
|
||||
dbus,
|
||||
stdenv,
|
||||
darwin,
|
||||
@ -10,20 +11,21 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "veryl";
|
||||
version = "0.13.0";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "veryl-lang";
|
||||
repo = "veryl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-U4ikR2jRmHUwRycAL/t2XJtvHQniKu6skRKWn8XDIgM=";
|
||||
hash = "sha256-YcYP7JO27Fv/LTrxbQ0vNqwBE6anGjeTFS31MAp2ip4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-t2q3rbY84+0ayxt7a/TCD0exCm7KEs+8UbQjCtqZPoE=";
|
||||
cargoHash = "sha256-HvT56jBmFTWUdzHjyPVaJ3wuMD01omCFEIEJ53JrKY4=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
@ -37,6 +39,13 @@ rustPlatform.buildRustPackage rec {
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd veryl \
|
||||
--bash <($out/bin/veryl metadata --completion bash) \
|
||||
--fish <($out/bin/veryl metadata --completion fish) \
|
||||
--zsh <($out/bin/veryl metadata --completion zsh)
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
# takes over an hour
|
||||
"--skip=tests::progress"
|
||||
@ -53,7 +62,6 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=analyzer::test_68_std"
|
||||
"--skip=emitter::test_25_dependency"
|
||||
"--skip=emitter::test_68_std"
|
||||
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user