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