Created
August 27, 2024 14:08
-
-
Save siers/63df7694c42062349c57c89969a9fbc7 to your computer and use it in GitHub Desktop.
nix-shell --run 'python -m uploadserver' oneliner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-shell -E 'with (import <nixpkgs> {}); with python3; mkShell { buildInputs = [ (withPackages (p: [(pkgs.buildPythonPackage rec { pname = "uploadserver"; version = "5.2.1"; src = fetchPypi { inherit pname version; hash = "sha256-qp2xkzLvnrnx8dHZpwlF3RjRg8jYC7WAaVS4ltJFZaU="; }; })]) ) ]; }' --run "python -m uploadserver 65353" | |
# you're welcome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment