python312Packages.fastbencode: refactor

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