share-host/default.nix
Ingolf Wagner 830f04d710
🏗️ create nix package
2024-11-17 05:02:15 +07:00

21 lines
442 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.python3Packages.buildPythonApplication rec {
pname = "your-package-name";
version = "1.0";
src = ./.;
# Specify the dependencies for the package
propagatedBuildInputs = [
pkgs.python3Packages.qrcode
pkgs.python3Packages.pillow
];
# Entry point of the application
# Adjust this path accordingly if share-via-http.py is located in a different directory
doCheck = false;
}