159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
46 lines
829 B
Nix
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 ];
|
|
};
|
|
}
|