python312Packages.fastbencode: refactor

+9 -3
+9 -3
pkgs/development/python-modules/fastbencode/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , python 5 , pythonOlder 6 - , cython 7 }: 8 9 buildPythonPackage rec { 10 pname = "fastbencode"; 11 version = "0.3.1"; 12 - format = "setuptools"; 13 14 - disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-X+DLfRc2iRr2HSreQM6UiUHUbpCLFvU4P1XxJ4SNoZc="; 19 }; 20 21 nativeBuildInputs = [ 22 cython ··· 33 meta = with lib; { 34 description = "Fast implementation of bencode"; 35 homepage = "https://github.com/breezy-team/fastbencode"; 36 license = licenses.gpl2Plus; 37 maintainers = with maintainers; [ ]; 38 };
··· 1 { lib 2 , buildPythonPackage 3 + , cython 4 , fetchPypi 5 , python 6 , pythonOlder 7 + , setuptools 8 }: 9 10 buildPythonPackage rec { 11 pname = "fastbencode"; 12 version = "0.3.1"; 13 + pyproject =true; 14 15 + disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-X+DLfRc2iRr2HSreQM6UiUHUbpCLFvU4P1XxJ4SNoZc="; 20 }; 21 + 22 + build-system = [ 23 + setuptools 24 + ]; 25 26 nativeBuildInputs = [ 27 cython ··· 38 meta = with lib; { 39 description = "Fast implementation of bencode"; 40 homepage = "https://github.com/breezy-team/fastbencode"; 41 + changelog = "https://github.com/breezy-team/fastbencode/releases/tag/v${version}"; 42 license = licenses.gpl2Plus; 43 maintainers = with maintainers; [ ]; 44 };