Skip to content

Commit 4722e2b

Browse files
asciinema-agg: refactor
Original commit: 2ff58b3 Co-authored-by: AndersonTorres <[email protected]>
1 parent a94f055 commit 4722e2b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pkgs/by-name/as/asciinema-agg/package.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
rustPlatform,
44
fetchFromGitHub,
55
stdenv,
6-
Security,
6+
darwin,
77
}:
88

9+
let
10+
inherit (darwin.apple_sdk.frameworks) Security;
11+
in
912
rustPlatform.buildRustPackage rec {
1013
pname = "agg";
1114
version = "1.4.3";
@@ -14,9 +17,11 @@ rustPlatform.buildRustPackage rec {
1417
owner = "asciinema";
1518
repo = "agg";
1619
rev = "v${version}";
17-
sha256 = "sha256-WCUYnveTWWQOzhIViMkSnyQ6vgLs5HDLWa/xvfZMh3A=";
20+
hash = "sha256-WCUYnveTWWQOzhIViMkSnyQ6vgLs5HDLWa/xvfZMh3A=";
1821
};
1922

23+
strictDeps = true;
24+
2025
cargoLock = {
2126
lockFile = ./Cargo.lock;
2227
outputHashes = {

0 commit comments

Comments
 (0)