gerrit-linkbot/package.nix
2024-08-06 23:54:15 -07:00

36 lines
759 B
Nix

{ lib, python3Packages }:
python3Packages.buildPythonApplication {
pname = "gerrit-linkbot";
version = "0.0.0";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./gerrit_linkbot
./pyproject.toml
./setup.py
];
};
nativeCheckInputs = [
python3Packages.pytestCheckHook
];
build-system = with python3Packages; [
setuptools
wheel
];
dependencies = with python3Packages; [
requests
];
meta = {
description = "Gerrit Forgejo backlink bot";
homepage = "https://git.lix.systems/lix-project/web-services";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lf- ];
platforms = lib.platforms.unix;
mainProgram = "gerrit-linkbot";
};
}