22 lines
442 B
Nix
22 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;
|
||
|
|
||
|
}
|