mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python312Packages.semaphore-bot: modernize
This commit is contained in:
parent
1373e907d5
commit
9a435661ae
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
python-dateutil,
|
||||
attrs,
|
||||
anyio,
|
||||
@ -10,18 +11,22 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "semaphore-bot";
|
||||
version = "0.17.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
hash = "sha256-3zb6+HdOB6+YrVRcmIHsokFKUOlFmKCoVNllvM+aOXQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "anyio>=3.5.0,<=3.6.2" "anyio"
|
||||
'';
|
||||
pythonRelaxDeps = [
|
||||
"anyio"
|
||||
"attrs"
|
||||
"python-dateutil"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
attrs
|
||||
python-dateutil
|
||||
|
Loading…
Reference in New Issue
Block a user