1 { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, CoreServices
4 rustPlatform.buildRustPackage rec {
8 src = fetchFromGitHub {
12 hash = "sha256-QlynZgmDd7m7m17J5lUTmejkKdQlfjiqcXg4ZMFp0vc=";
15 cargoHash = "sha256-TOuxJL2UtMA9mZLHZVQDD6lyL9VWy/HBNfezhOGbSG8=";
17 nativeBuildInputs = [ pkg-config ];
19 buildInputs = [ openssl ]
20 ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
22 OPENSSL_NO_VENDOR = 1;
25 mainProgram = "railway";
26 description = "Railway.app CLI";
27 homepage = "https://github.com/railwayapp/cli";
28 changelog = "https://github.com/railwayapp/cli/releases/tag/v${version}";
29 license = licenses.mit;
30 maintainers = with maintainers; [ Crafter techknowlogick ];