Merge pull request #142866 from bbigras/graphql-client

graphql-client: init at 0.10.0

authored by

figsoda and committed by
GitHub
19a8af54 fc8b762f

+32
+28
pkgs/development/tools/graphql-client/default.nix
··· 1 + { lib, stdenv, rustPlatform, fetchCrate, pkg-config, openssl, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "graphql-client"; 5 + version = "0.10.0"; 6 + 7 + src = fetchCrate { 8 + inherit version; 9 + crateName = "graphql_client_cli"; 10 + sha256 = "sha256-OV4kpvciEJOGfhkxPoNf1QmhdytWMhXuQAKOFJvDFA4="; 11 + }; 12 + 13 + cargoSha256 = "sha256-r/pRwDLc/yGMzdZIx8SV46o63eb6qrlTb6MsUBhq97w="; 14 + 15 + nativeBuildInputs = [ 16 + pkg-config 17 + ]; 18 + buildInputs = [ 19 + openssl 20 + ] ++ lib.optionals stdenv.isDarwin [ Security ]; 21 + 22 + meta = with lib; { 23 + description = "A GraphQL tool for Rust projects"; 24 + homepage = "https://github.com/graphql-rust/graphql-client"; 25 + license = with licenses; [ asl20 /* or */ mit ]; 26 + maintainers = with maintainers; [ bbigras ]; 27 + }; 28 + }
+4
pkgs/top-level/all-packages.nix
··· 13179 13179 mpi = mpich; 13180 13180 }; 13181 13181 13182 + graphql-client = callPackage ../development/tools/graphql-client { 13183 + inherit (darwin.apple_sdk.frameworks) Security; 13184 + }; 13185 + 13182 13186 groovy = callPackage ../development/interpreters/groovy { }; 13183 13187 13184 13188 inherit (callPackages ../applications/networking/cluster/hadoop { })