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