diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-13 23:03:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 23:03:50 +0200 |
commit | e38231ddafe18d6053e69e8dd8c1039fea33df64 (patch) | |
tree | 8e7af9534fd8b08b3b10fb17ee3eb8177b14383c /pkgs/development/tools | |
parent | fc96e711c384414e09926d8f1794d7cb75e4f64e (diff) | |
parent | 059f2de9dbf9d4d45a944982cbecb9599d1b2a12 (diff) |
Merge pull request #311342 from pluiedev/zhf-24.05/cargo-raze
cargo-raze: 0.16.0 -> 0.16.1, unbreak, modernize
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/rust/cargo-raze/default.nix | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/pkgs/development/tools/rust/cargo-raze/default.nix b/pkgs/development/tools/rust/cargo-raze/default.nix deleted file mode 100644 index b87d9d4570b6c..0000000000000 --- a/pkgs/development/tools/rust/cargo-raze/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, pkg-config -, curl -, libgit2 -, openssl -, Security -}: - -rustPlatform.buildRustPackage rec { - pname = "cargo-raze"; - version = "0.16.0"; - - src = fetchFromGitHub { - owner = "google"; - repo = pname; - rev = "v${version}"; - hash = "sha256-ip0WuBn1b7uN/pAhOl5tfmToK73ZSHK7rucdtufsbCQ="; - }; - sourceRoot = "${src.name}/impl"; - - cargoHash = "sha256-hNZgQwhm4UPqmANplZGxG0DYHa31tu06nmqYaCA7Vdg="; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - libgit2 - openssl - curl - ] - ++ lib.optional stdenv.isDarwin Security; - - preCheck = lib.optionalString stdenv.isDarwin '' - # Darwin issue: Os { code: 24, kind: Uncategorized, message: "Too many open files" } - # https://github.com/google/cargo-raze/issues/544 - ulimit -n 1024 - ''; - - __darwinAllowLocalNetworking = true; - - meta = with lib; { - description = "Generate Bazel BUILD files from Cargo dependencies"; - homepage = "https://github.com/google/cargo-raze"; - license = licenses.asl20; - maintainers = with maintainers; [ elasticdog ]; - }; -} |