From a35b5329d7201cd0a71068a600272ac9745436d8 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Wed, 4 Oct 2023 10:27:09 -0500 Subject: [PATCH] doc: added read me --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..4564770 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# NixOS Flake for Sickbeard's MP4 Automator + +This is the repository for pulling [Sickbeard's MP4 Automator](https://github.com/mdhiggins/sickbeard_mp4_automator) into a flake. + +## Binaries + +- `sbmp4a`: This is the `manual.py` of the original archive, properly wrapped and set up for use. + +## Usage + +Dylan hasn't mastered [Colmena](https://github.com/zhaofengli/colmena) yet to figure out how to make it a flake input, so he pulls it in using a nix file like below. There are definately better ways to do it, this just works. + +```nix +inputs @ { + pkgs, + ... +}: let + system = "x86_64-linux"; + sbmp4a-flake = builtins.getFlake "git+https://src.mfgames.com/nixos-contrib/sickbeard-mp4-automator-flake?rev=dcfad411fe22dbe1561cbb84aecc95e4e42d9af0"; +in { + environment.systemPackages = with pkgs; [ + ffmpeg + sbmp4a-flake.defaultPackage.${system} + ]; +} +```