Add files via upload
This commit is contained in:
parent
9a901cb6b7
commit
d167bc68a5
8 changed files with 263 additions and 123 deletions
20
modules/discord-capture-limiter.nix
Normal file
20
modules/discord-capture-limiter.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "discord-capture-limiter";
|
||||
version = "0.1.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ediblerope";
|
||||
repo = "Discord-Capture-Limiter";
|
||||
rev = "v0.1.0"; # or commit hash
|
||||
sha256 = "sha256-hash-goes-here";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp path/to/your/script $out/bin/discord-capture-limiter
|
||||
chmod +x $out/bin/discord-capture-limiter
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue