updated parrot

and removed old mining module
This commit is contained in:
Gerg-L 2023-03-08 19:42:41 -05:00
parent 8f75d166da
commit f7adbbcc4e
4 changed files with 14 additions and 32 deletions

View file

@ -1,10 +1,14 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
cmake,
libopus,
yt-dlp,
ffmpeg,
makeWrapper,
}:
# yt-dlp and ffmpeg required at runtime
rustPlatform.buildRustPackage {
@ -25,7 +29,14 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [
pkg-config
cmake
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/parrot \
--set PATH ${lib.makeBinPath [
yt-dlp
ffmpeg
]}'';
cargoSha256 = "sha256-qPyuj5OxHrWz0YbrquCTTKZM3j1poXuioNNvn9z+xDQ=";
RUSTC_BOOTSTRAP = 1;