biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / railway / default.nix
blobb3119d83a003ffcb3e6a07d27b1b8da056b171aa
1 { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, stdenv, CoreServices
2 , Security }:
4 rustPlatform.buildRustPackage rec {
5   pname = "railway";
6   version = "3.5.2";
8   src = fetchFromGitHub {
9     owner = "railwayapp";
10     repo = "cli";
11     rev = "v${version}";
12     hash = "sha256-QlynZgmDd7m7m17J5lUTmejkKdQlfjiqcXg4ZMFp0vc=";
13   };
15   cargoHash = "sha256-TOuxJL2UtMA9mZLHZVQDD6lyL9VWy/HBNfezhOGbSG8=";
17   nativeBuildInputs = [ pkg-config ];
19   buildInputs = [ openssl ]
20     ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
22   OPENSSL_NO_VENDOR = 1;
24   meta = with lib; {
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 ];
31   };