File tree 2 files changed +7
-12
lines changed
2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 8
8
pkg-config ,
9
9
openssl ,
10
10
stdenv ,
11
- CoreServices ,
12
- Security ,
13
11
zig ,
14
12
nix-update-script ,
15
13
} :
@@ -19,9 +17,9 @@ rustPlatform.buildRustPackage rec {
19
17
version = "1.5.0" ;
20
18
21
19
src = fetchFromGitHub {
22
- owner = pname ;
23
- repo = pname ;
24
- rev = "v${ version } " ;
20
+ owner = "cargo-lambda" ;
21
+ repo = "cargo-lambda" ;
22
+ tag = "v${ version } " ;
25
23
hash = "sha256-58kVtwBZEAlv9eVesqmWMZ+KxAwEiGMm8mCf9X5tPMI=" ;
26
24
} ;
27
25
@@ -38,8 +36,6 @@ rustPlatform.buildRustPackage rec {
38
36
[ openssl ]
39
37
++ lib . optionals stdenv . hostPlatform . isDarwin [
40
38
curl
41
- CoreServices
42
- Security
43
39
] ;
44
40
45
41
checkFlags = [
@@ -63,12 +59,12 @@ rustPlatform.buildRustPackage rec {
63
59
64
60
passthru . updateScript = nix-update-script { } ;
65
61
66
- meta = with lib ; {
62
+ meta = {
67
63
description = "Cargo subcommand to help you work with AWS Lambda" ;
68
64
mainProgram = "cargo-lambda" ;
69
65
homepage = "https://cargo-lambda.info" ;
70
- license = licenses . mit ;
71
- maintainers = with maintainers ; [
66
+ license = lib . licenses . mit ;
67
+ maintainers = with lib . maintainers ; [
72
68
taylor1791
73
69
calavera
74
70
] ;
Original file line number Diff line number Diff line change @@ -7010,9 +7010,8 @@ with pkgs;
7010
7010
cargo-inspect = callPackage ../development/tools/rust/cargo-inspect {
7011
7011
inherit (darwin.apple_sdk.frameworks) Security;
7012
7012
};
7013
- cargo-lambda = callPackage ../development/tools/rust/ cargo-lambda {
7013
+ cargo-lambda = callPackage ../by-name/ca/ cargo-lambda/package.nix {
7014
7014
zig = buildPackages.zig_0_12;
7015
- inherit (darwin.apple_sdk.frameworks) CoreServices Security;
7016
7015
};
7017
7016
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
7018
7017
inherit (darwin.apple_sdk.frameworks) Security;
You can’t perform that action at this time.
0 commit comments