Compare commits

17 Commits

Author SHA1 Message Date
Alexander Wainwright
8f82a34cc2 Merge branch 'main' into prototype 2025-06-24 21:36:17 +10:00
Alexander Wainwright
5de63963a4 Add info command 2025-06-24 15:48:31 +10:00
Alexander Wainwright
788e69ebd6 Update formatting 2025-06-24 15:48:18 +10:00
Alexander Wainwright
7568457984 Add nix files 2025-06-24 15:47:52 +10:00
Alexander Wainwright
d5884cd899 Update readme 2025-06-24 15:04:50 +10:00
Alexander Wainwright
bff6be4560 Add restore command 2025-06-24 14:33:20 +10:00
Alexander Wainwright
8a7b05f48e Update tests for mount 2025-06-24 14:33:01 +10:00
Alexander Wainwright
0bd9f78346 Add unmount command 2025-06-24 14:21:02 +10:00
Alexander Wainwright
5dcb3d6d8b Add tests for mount 2025-06-24 14:20:37 +10:00
Alexander Wainwright
568ba0fb7c Remove redundant check 2025-06-24 14:19:59 +10:00
Alexander Wainwright
9fee5f1b3c Add mount command 2025-06-24 13:10:50 +10:00
Alexander Wainwright
b361fbb71c Tidy up formatting 2025-06-24 13:10:35 +10:00
Alexander Wainwright
2f45f4e5d8 Add connection for mount command 2025-06-24 13:10:20 +10:00
Alexander Wainwright
2ab5a07b00 Update list tests 2025-06-24 12:23:10 +10:00
Alexander Wainwright
90a6e26b51 Fix unit test 2025-06-24 12:15:12 +10:00
Alexander Wainwright
c716178b00 Add some functionality 2025-06-22 22:07:45 +10:00
Alexander Wainwright
62ca1bfab9 Initial commit 2025-06-22 16:03:48 +10:00

View File

@@ -10,17 +10,16 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
python = pkgs.python313;
python = pkgs.python313; # or python312 if you prefer
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