mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-07 04:57:26 +03:00
python311Packages.aioambient: refactor
This commit is contained in:
parent
1ede548b02
commit
ae8dc82481
@ -16,22 +16,17 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "aioambient";
|
||||
version = "2023.12.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
repo = "aioambient";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-O9MlXtX7UzFN1w/vxpcZ/nRPDFPK5wFKBl42rhaAu94=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'websockets = ">=11.0.1"' 'websockets = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user