depot/third_party/nixpkgs/pkgs/development/python-modules/semaphore-bot/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

46 lines
829 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
python-dateutil,
attrs,
anyio,
}:
buildPythonPackage rec {
pname = "semaphore-bot";
version = "0.17.0";
pyproject = true;
src = fetchPypi {
inherit version pname;
hash = "sha256-3zb6+HdOB6+YrVRcmIHsokFKUOlFmKCoVNllvM+aOXQ=";
};
pythonRelaxDeps = [
"anyio"
"attrs"
"python-dateutil"
];
build-system = [ setuptools ];
dependencies = [
anyio
attrs
python-dateutil
];
# Upstream has no tests
doCheck = false;
pythonImportsCheck = [ "semaphore" ];
meta = with lib; {
description = "Simple rule-based bot library for Signal Private Messenger";
homepage = "https://github.com/lwesterhof/semaphore";
license = with licenses; [ agpl3Plus ];
maintainers = with maintainers; [ onny ];
};
}