Merge pull request #272218 from Grafcube/update-cargo-leptos-0.2.5

cargo-leptos: 0.2.2 -> 0.2.5
This commit is contained in:
Nick Cao 2023-12-07 09:19:38 -05:00 committed by GitHub
commit 82c87b25f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 325 additions and 271 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,6 @@
{ darwin
, fetchFromGitHub
, lib
, openssl
, pkg-config
, rustPlatform
, stdenv
@ -9,30 +8,28 @@
let
inherit (darwin.apple_sdk.frameworks)
CoreServices
SystemConfiguration
Security;
inherit (lib) optionals;
inherit (stdenv) isDarwin;
in
rustPlatform.buildRustPackage rec {
pname = "cargo-leptos";
version = "0.2.2";
version = "0.2.5";
src = fetchFromGitHub {
owner = "leptos-rs";
repo = pname;
rev = "e98b478b0c82af1469151eff30f4246b9af4a539";
hash = "sha256-7o/yQanBBSA+MmMiGCYSjar4hZ8TRZoPiUniF5ELzXU=";
rev = version;
hash = "sha256-veRhTruM+Nw2rerzXC/kpi2Jr8mMMBLqOM2YBCpFePU=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = optionals (!isDarwin) [ pkg-config ];
buildInputs = optionals (!isDarwin) [
openssl
] ++ optionals isDarwin [
buildInputs = optionals isDarwin [
SystemConfiguration
Security
CoreServices
];