blob: 0702a9d11438c1ac280bcc636a8ff8961200bfc7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
dbus,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "veryl";
version = "0.13.0";
src = fetchFromGitHub {
owner = "veryl-lang";
repo = "veryl";
rev = "v${version}";
hash = "sha256-U4ikR2jRmHUwRycAL/t2XJtvHQniKu6skRKWn8XDIgM=";
fetchSubmodules = true;
};
cargoHash = "sha256-t2q3rbY84+0ayxt7a/TCD0exCm7KEs+8UbQjCtqZPoE=";
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
dbus
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
checkFlags = [
# takes over an hour
"--skip=tests::progress"
# tempfile::tempdir().unwrap() -> "No such file or directory"
"--skip=tests::bump_version"
"--skip=tests::bump_version_with_commit"
"--skip=tests::check"
"--skip=tests::load"
"--skip=tests::lockfile"
"--skip=tests::publish"
"--skip=tests::publish_with_commit"
# "Permission Denied", while making its cache dir?
"--skip=analyzer::test_25_dependency"
"--skip=analyzer::test_68_std"
"--skip=emitter::test_25_dependency"
"--skip=emitter::test_68_std"
];
meta = {
description = "Modern Hardware Description Language";
homepage = "https://veryl-lang.org/";
changelog = "https://github.com/veryl-lang/veryl/blob/${src.rev}/CHANGELOG.md";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ pbsds ];
mainProgram = "veryl";
};
}
|