share-host/default.nix

22 lines
442 B
Nix
Raw Normal View History

{
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;
}