depot/third_party/nixpkgs/pkgs/by-name/sq/sqlite-web/package.nix

32 lines
636 B
Nix

{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "sqlite-web";
version = "0.6.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-5Bdd1C9M3HjvfDKdVvGSQ+/I0Iimvf1MZwPonRiqwqU=";
};
propagatedBuildInputs = with python3Packages; [
flask
peewee
pygments
];
# no tests in repository
doCheck = false;
meta = with lib; {
description = "Web-based SQLite database browser";
mainProgram = "sqlite_web";
homepage = "https://github.com/coleifer/sqlite-web";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}