Packaging a python pip package (sqlite-web)

I’m wondering how to package a pip package. GitHub - coleifer/sqlite-web: Web-based SQLite database browser written in Python says to just do pip install sqlite-web, I already turned that into pipenv install sqlite-web, but ideally it would just be a package.

Use the buildPythonApplication function, and get the source with fetchPypi. Search through the nixpkgs repository for those two functions and you’ll find plenty of examples if you get stuck!

2 Likes

If you would like this package added to nixpkgs please create an issue and cc me “costrouc” and I’ll create a PR to add the package. Also happy to guide you through a PR if you would like to learn how to contribute the package yourself!

2 Likes

Thank you for the kind offer, I’ll be happy to look at the resulting PR! Add sqlite-web · Issue #50949 · NixOS/nixpkgs · GitHub