mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
updated parrot
and removed old mining module
This commit is contained in:
parent
8f75d166da
commit
f7adbbcc4e
4 changed files with 14 additions and 32 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue