Tidy up formatting

This commit is contained in:
Alexander Wainwright
2025-07-04 12:23:31 +10:00
parent 5ddd891df6
commit 35e72ae715

View File

@@ -10,16 +10,17 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
python = pkgs.python313; # or python312 if you prefer
python = pkgs.python313;
pythonPackages = python.pkgs;
locutus = pythonPackages.buildPythonApplication {
pname = "locutus";
version = "0.1.0";
src = ./.;
format = "pyproject";
nativeBuildInputs = with pkgs; [ makeWrapper python.pkgs.setuptools ];
propagatedBuildInputs = with pythonPackages; [
];
nativeBuildInputs = with pkgs; [ makeWrapper python.pkgs.setuptools ];
propagatedBuildInputs = with pythonPackages; [];
# Install the CLI entrypoint
postInstall = ''
wrapProgram $out/bin/locutus --prefix PATH : ${pkgs.borgbackup}/bin