Refactor Nix package definition and enhance README for lidarr-mb-gap
- Updated `flake.nix` to import the new Nix package definition from `nix/package.nix`, streamlining the build process for the lidarr-mb-gap application. - Enhanced the README.md to include new features such as NixOS module support for automated deployment, detailed deployment instructions, and configuration options for SSH and output directories. - Added sections for troubleshooting output file issues and clarified the structure of the project, including new files for deployment and web serving.
This commit is contained in:
16
nix/package.nix
Normal file
16
nix/package.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, lib, src }:
|
||||
|
||||
pkgs.python3Packages.buildPythonApplication {
|
||||
pname = "lidarr-mb-gap";
|
||||
version = "1.0.0";
|
||||
inherit src;
|
||||
format = "pyproject";
|
||||
nativeBuildInputs = with pkgs.python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
propagatedBuildInputs = with pkgs.python3Packages; [
|
||||
requests
|
||||
python-dotenv
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user