Skip to content

Commit 52b40d9

Browse files
committed
python313Packages.python-binance: refactor
1 parent 3c463d5 commit 52b40d9

File tree

1 file changed

+7
-4
lines changed
  • pkgs/development/python-modules/python-binance

1 file changed

+7
-4
lines changed

pkgs/development/python-modules/python-binance/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,27 @@
1313
requests,
1414
six,
1515
ujson,
16+
setuptools,
1617
websockets,
1718
}:
1819

1920
buildPythonPackage rec {
2021
pname = "python-binance";
2122
version = "1.0.27";
22-
format = "setuptools";
23+
pyproject = true;
2324

24-
disabled = pythonOlder "3.6";
25+
disabled = pythonOlder "3.11";
2526

2627
src = fetchFromGitHub {
2728
owner = "sammchardy";
28-
repo = pname;
29+
repo = "python-binance";
2930
tag = "v${version}";
3031
hash = "sha256-nsJuHxPXhMBRY4BUDDLj5sHK/GuJA0pBU3RGUDxVm50=";
3132
};
3233

33-
propagatedBuildInputs = [
34+
build-system = [ setuptools ];
35+
36+
dependencies = [
3437
aiohttp
3538
dateparser
3639
requests

0 commit comments

Comments
 (0)