chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ra / railway / package.nix
blob18a0246cfa76a538f79794cd31e9ac65bdf3d5e7
2   lib,
3   darwin,
4   rustPlatform,
5   fetchFromGitHub,
6   pkg-config,
7   openssl,
8   stdenv,
9 }:
10 let
11   inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
13 rustPlatform.buildRustPackage rec {
14   pname = "railway";
15   version = "3.15.1";
17   src = fetchFromGitHub {
18     owner = "railwayapp";
19     repo = "cli";
20     rev = "v${version}";
21     hash = "sha256-2/Yaz+eqZEOh/bCme9DuQep4XDkatr9kw32zN1yn9DQ=";
22   };
24   cargoHash = "sha256-9fO8YmmqyqVp0FYndUnTD6+nSvlV9jzjT+G/iNlZYLo=";
26   nativeBuildInputs = [ pkg-config ];
28   buildInputs =
29     [ openssl ]
30     ++ lib.optionals stdenv.hostPlatform.isDarwin [
31       CoreServices
32       Security
33       SystemConfiguration
34     ];
36   OPENSSL_NO_VENDOR = 1;
38   meta = with lib; {
39     mainProgram = "railway";
40     description = "Railway.app CLI";
41     homepage = "https://github.com/railwayapp/cli";
42     changelog = "https://github.com/railwayapp/cli/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [
45       Crafter
46       techknowlogick
47     ];
48   };