Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35e72ae715 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user