gerrit-linkbot/package.nix

36 lines
759 B
Nix
Raw Normal View History

2024-08-07 06:51:08 +00:00
{ 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";
};
}