9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
14 owner = "apollographql";
17 sha256 = "sha256-c1Tnb9ACyV6RZmYnLL+KnybGgy8kwGi0JyWYcoH1J6M=";
20 cargoSha256 = "sha256-wTvQ4QBysppMgwv9pjQckVjMoBzLiDReOt6sJImqKFY=";
22 buildInputs = lib.optionals stdenv.isDarwin [
23 darwin.apple_sdk.frameworks.Security
24 darwin.apple_sdk.frameworks.CoreServices
25 darwin.apple_sdk.frameworks.SystemConfiguration
32 # This test checks whether the plugins specified in the plugins json file are
33 # valid by making a network call to the repo that houses their binaries; but, the
34 # build env can't make network calls (impurity)
36 "-- --skip=latest_plugins_are_valid_versions"
39 passthru.updateScript = ./update.sh;
41 # Some tests try to write configuration data to a location in the user's home
42 # directory. Since this would be /homeless-shelter during the build, point at
43 # a writeable location instead.
45 export APOLLO_CONFIG_HOME="$PWD"
49 description = "A CLI for interacting with ApolloGraphQL's developer tooling, including managing self-hosted and GraphOS graphs.";
50 mainProgram = "rover";
51 homepage = "https://www.apollographql.com/docs/rover";
52 license = licenses.mit;
53 maintainers = [ maintainers.ivanbrennan maintainers.aaronarinder ];