Files
nixpkgs/pkgs/by-name/pa/panamax/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
775 B
Nix

{
lib,
rustPlatform,
fetchCrate,
pkg-config,
libgit2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage rec {
pname = "panamax";
version = "1.0.14";
src = fetchCrate {
inherit pname version;
hash = "sha256-gIgw6JMGpHNXE/PZoz3jRdmjIWy4hETYf24Nd7/Jr/g=";
};
cargoHash = "sha256-QjzmB9nKL2TfDNi7lOVaFSEfKiDSuYWnrmqeesrhuyQ=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libgit2
openssl
zlib
];
meta = with lib; {
description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage";
mainProgram = "panamax";
homepage = "https://github.com/panamax-rs/panamax";
license = with licenses; [
mit # or
asl20
];
maintainers = with maintainers; [ figsoda ];
};
}