12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-LSQ3ZM7BWXiwBqlw6usImpt+w+wC2EvkoAMblTb0pvg=";
21 fetchSubmodules = true;
24 cargoHash = "sha256-w7mB0cAN5aRO1pw21BDIFUtnYUJUoYjW+7nXFCBfYgM=";
35 ++ lib.optionals stdenv.hostPlatform.isDarwin [
36 darwin.apple_sdk.frameworks.CoreFoundation
37 darwin.apple_sdk.frameworks.CoreServices
38 darwin.apple_sdk.frameworks.Security
39 darwin.apple_sdk.frameworks.SystemConfiguration
42 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
43 installShellCompletion --cmd veryl \
44 --bash <($out/bin/veryl metadata --completion bash) \
45 --fish <($out/bin/veryl metadata --completion fish) \
46 --zsh <($out/bin/veryl metadata --completion zsh)
51 "--skip=tests::progress"
52 # tempfile::tempdir().unwrap() -> "No such file or directory"
53 "--skip=tests::bump_version"
54 "--skip=tests::bump_version_with_commit"
57 "--skip=tests::lockfile"
58 "--skip=tests::publish"
59 "--skip=tests::publish_with_commit"
60 # "Permission Denied", while making its cache dir?
61 "--skip=analyzer::test_25_dependency"
62 "--skip=analyzer::test_68_std"
63 "--skip=emitter::test_25_dependency"
64 "--skip=emitter::test_68_std"
68 description = "Modern Hardware Description Language";
69 homepage = "https://veryl-lang.org/";
70 changelog = "https://github.com/veryl-lang/veryl/blob/${src.rev}/CHANGELOG.md";
71 license = with lib.licenses; [
75 maintainers = with lib.maintainers; [ pbsds ];
76 mainProgram = "veryl";