Merge pull request #270716 from figsoda/inlyne

inlyne: 0.3.1 -> 0.3.2
This commit is contained in:
Weijia Wang 2023-11-30 03:12:53 +01:00 committed by GitHub
commit ef8335efb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,16 +13,16 @@
rustPlatform.buildRustPackage rec {
pname = "inlyne";
version = "0.3.1";
version = "0.3.2";
src = fetchFromGitHub {
owner = "trimental";
repo = pname;
rev = "v${version}";
hash = "sha256-B+H3G4jVysqrzWIP+1hktSGnycZLizxhmBCO/lYIr0I=";
hash = "sha256-DSi6iS1ySdvGf6FxZpsDOAFpAKx/APcZjxA3Qy0gQBU=";
};
cargoHash = "sha256-LFL2DVKu/UM7effikZN/IhSD6DrlwO+CF+S60PXULa0=";
cargoHash = "sha256-UzegSJGAOBUDN8WluN7fLWS7NfHhm9YY0Zuq6DCIqHo=";
nativeBuildInputs = [
installShellFiles
@ -41,6 +41,12 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk_11_0.frameworks.AppKit
];
checkFlags = lib.optionals stdenv.isDarwin [
# time out on darwin
"--skip=interpreter::tests::centered_image_with_size_align_and_link"
"--skip=watcher::tests::the_gauntlet"
];
postInstall = ''
installShellCompletion --cmd inlyne \
--bash <($out/bin/inlyne --gen-completions bash) \