cargo-leptos: 0.2.2 -> 0.2.5

This commit is contained in:
Grafcube
2023-12-07 12:43:50 +05:30
parent 4fa7d5f33d
commit 3d3a4f69bb
2 changed files with 325 additions and 271 deletions
File diff suppressed because it is too large Load Diff
@@ -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
];