Files
nixpkgs/pkgs/development/tools/database/sqlite-web/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
619 B
Nix

{ lib
, python3Packages
, fetchPypi
}:
python3Packages.buildPythonApplication rec {
pname = "sqlite-web";
version = "0.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cDSlSh0vnwvbJZFDPqvJ5oXz68gN9yzodcQYkXUAytE=";
};
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 ];
};
}