diff --git a/pkgs/development/python-modules/bizkaibus/default.nix b/pkgs/development/python-modules/bizkaibus/default.nix index b067a7f2bd9a..c79a3c35b966 100644 --- a/pkgs/development/python-modules/bizkaibus/default.nix +++ b/pkgs/development/python-modules/bizkaibus/default.nix @@ -1,25 +1,29 @@ { lib, - requests, + aiohttp, buildPythonPackage, fetchFromGitHub, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "bizkaibus"; version = "0.2.0"; - format = "setuptools"; - disabled = pythonOlder "3.6"; + pyproject = true; + + disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "UgaitzEtxebarria"; repo = "BizkaibusRTPI"; rev = version; - sha256 = "sha256-TM02pSSOELRGSwsKc5C+34W94K6mnS0C69aijsPqSWs="; + hash = "sha256-TM02pSSOELRGSwsKc5C+34W94K6mnS0C69aijsPqSWs="; }; - propagatedBuildInputs = [ requests ]; + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Project has no tests doCheck = false; @@ -29,7 +33,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to get information about Bizkaibus buses"; homepage = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI"; - license = with licenses; [ mit ]; + changelog = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI/releases/tag/${version}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }