lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #230459 from ConsumingChaos/cargo-bazel

cargo-bazel: init at 0.8.0

authored by

Matthias Beyer and committed by
GitHub
872740f3 80f067f4

+39
+6
maintainers/maintainer-list.nix
··· 14798 14798 githubId = 42619; 14799 14799 name = "Wei-Ming Yang"; 14800 14800 }; 14801 + rickvanprim = { 14802 + email = "me@rickvanprim.com"; 14803 + github = "rickvanprim"; 14804 + githubId = 13792812; 14805 + name = "James Leitch"; 14806 + }; 14801 14807 rickynils = { 14802 14808 email = "rickynils@gmail.com"; 14803 14809 github = "rickynils";
+30
pkgs/development/tools/rust/cargo-bazel/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchCrate 4 + , rustPlatform 5 + , Security 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "cargo-bazel"; 10 + version = "0.8.0"; 11 + 12 + src = fetchCrate { 13 + inherit pname version; 14 + sha256 = "FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; 15 + }; 16 + 17 + cargoSha256 = "+PVNB/apG5AR236Ikqt+JTz20zxc0HUi7z6BU6xq/Fw="; 18 + 19 + buildInputs = lib.optional stdenv.isDarwin Security; 20 + 21 + # `test_data` is explicitly excluded from the package published to crates.io, so tests cannot be run 22 + doCheck = false; 23 + 24 + meta = with lib; { 25 + description = "Part of the `crate_universe` collection of tools which use Cargo to generate build targets for Bazel"; 26 + homepage = "https://github.com/bazelbuild/rules_rust"; 27 + license = licenses.asl20; 28 + maintainers = with maintainers; [ rickvanprim ]; 29 + }; 30 + }
+3
pkgs/top-level/all-packages.nix
··· 17098 17098 cargo-asm = callPackage ../development/tools/rust/cargo-asm { 17099 17099 inherit (darwin.apple_sdk.frameworks) Security; 17100 17100 }; 17101 + cargo-bazel = callPackage ../development/tools/rust/cargo-bazel { 17102 + inherit (darwin.apple_sdk.frameworks) Security; 17103 + }; 17101 17104 cargo-binutils = callPackage ../development/tools/rust/cargo-binutils { }; 17102 17105 cargo-bloat = callPackage ../development/tools/rust/cargo-bloat { }; 17103 17106 cargo-bolero = callPackage ../development/tools/rust/cargo-bolero { };