added secrets

This commit is contained in:
2021-05-09 00:00:36 +05:30
parent 0f51622ac9
commit 422ab9c1eb
38 changed files with 517 additions and 82 deletions

View File

@@ -1,16 +1,18 @@
{lib,stdenv,fetchFromGitHub}:
{lib, stdenv, fetchFromGitHub, rage, curl, sox, ffmpeg}:
stdenv.mkDerivation rec{
name = "customscripts";
src = fetchFromGitHub {
src = ./src;
/* src = fetchFromGitHub {
owner = "idcretard";
repo = "custom-scripts";
rev = "a996a52831316cc2c282904352654bd20c82f7bd";
sha256 = "sha256-nw21YmcmQMF8NADnuHOc7eF2Yaj/r/1mYBn77fYK7s8=";
};
};*/
buildInputs = [ rage curl sox ffmpeg ];
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
cp -r $src/* $out/bin
for x in $out/bin/*;do chmod +x "$x";done
for x in $out/bin/*; do chmod +x "$x"; done
'';
}