Mario Rodas 2020-02-09 04:10:57 -05:00 committed by GitHub
parent 1a6e93f0b2
commit bc2336898f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -1,21 +1,23 @@
{ stdenv, rustPlatform, fetchFromGitHub, coreutils, installShellFiles }: { stdenv, rustPlatform, fetchFromGitHub, coreutils, libiconv, Security, installShellFiles }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "broot"; pname = "broot";
version = "0.12.2"; version = "0.13.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Canop"; owner = "Canop";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1y2da4xcdsvvss4plbp77pqhi8fqjlnsgpcwq8fkc0vx049ijhcm"; sha256 = "13b1w9g68aj3r70w9bmrmdc772y959n77ajbdm2cpjs5f4kgfpak";
}; };
cargoSha256 = "1h9jpyxvk76h06jgy3bwbr3ymhqypsyq05m99clkkrlwp8dnsgqq"; cargoSha256 = "0vzpyymylzxjm613lf5xr6hd21ijkl3vwq4y6h1q3as41phw2sqb";
verifyCargoDeps = true; verifyCargoDeps = true;
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
postPatch = '' postPatch = ''
substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/' substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/'
''; '';

View File

@ -1270,7 +1270,9 @@ in
brook = callPackage ../tools/networking/brook { }; brook = callPackage ../tools/networking/brook { };
broot = callPackage ../tools/misc/broot { }; broot = callPackage ../tools/misc/broot {
inherit (darwin.apple_sdk.frameworks) Security;
};
bruteforce-luks = callPackage ../tools/security/bruteforce-luks { }; bruteforce-luks = callPackage ../tools/security/bruteforce-luks { };