Merge pull request #212443 from figsoda/panamax

panamax: 1.0.3 -> 1.0.6
This commit is contained in:
Nick Cao 2023-01-25 12:15:31 +08:00 committed by GitHub
commit 335656d022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 8 deletions

View file

@ -1,19 +1,34 @@
{ lib, rustPlatform, fetchCrate, pkg-config, openssl, stdenv, Security }:
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, libgit2
, openssl
, zlib
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "panamax";
version = "1.0.3";
version = "1.0.6";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-w4waFdzd/Ps0whOp39QLBE/YF2eyc4t2Ili7FskUt1M=";
sha256 = "sha256-/JW2QB5PtwKo0TLU/QmkgsE6/ne+51EVmWyGn7Lljdw=";
};
cargoSha256 = "sha256-52snmkTFHI26xJo9qJkmqh1M5lLzhDxw8WT6uFd57aw=";
cargoSha256 = "sha256-aKdDismdPcExqznS6S2LvAij6gv9/Hw2FBvkhr9rJGo=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [
libgit2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage";

View file

@ -15721,9 +15721,7 @@ with pkgs;
maturin = callPackage ../development/tools/rust/maturin {
inherit (darwin.apple_sdk.frameworks) Security;
};
panamax = callPackage ../development/tools/rust/panamax {
inherit (darwin.apple_sdk.frameworks) Security;
};
panamax = callPackage ../development/tools/rust/panamax { };
ograc = callPackage ../development/tools/rust/ograc { };