From eaea9be9d2a4f537f9ffc96fa767eb236091692d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Mar 2025 23:52:34 +0100 Subject: [PATCH] python313Packages.asgineer: 0.8.3 -> 0.9.3 Diff: https://github.com/almarklein/asgineer/compare/refs/tags/v0.8.3...v0.9.3 Changelog: https://github.com/almarklein/asgineer/releases/tag/vv0.9.3 --- .../python-modules/asgineer/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/asgineer/default.nix b/pkgs/development/python-modules/asgineer/default.nix index dfb8fabaf08f..9376a12ef360 100644 --- a/pkgs/development/python-modules/asgineer/default.nix +++ b/pkgs/development/python-modules/asgineer/default.nix @@ -4,21 +4,23 @@ fetchFromGitHub, pytestCheckHook, requests, + flit-core, }: buildPythonPackage rec { pname = "asgineer"; - version = "0.8.3"; - format = "setuptools"; + version = "0.9.3"; + pyproject = true; - # PyPI tarball doesn't include tests directory src = fetchFromGitHub { owner = "almarklein"; - repo = pname; + repo = "asgineer"; tag = "v${version}"; - sha256 = "sha256-9F/66Yi394C1tZWK/BiaCltvRZGVNq+cREDHUoyVLr4="; + hash = "sha256-Uk1kstEBt321BVeNcfdhZuonmm1i9IXSBnZLa4eDS2E="; }; + build-system = [ flit-core ]; + nativeCheckInputs = [ pytestCheckHook requests @@ -26,8 +28,9 @@ buildPythonPackage rec { meta = with lib; { description = "Really thin ASGI web framework"; - license = licenses.bsd2; homepage = "https://asgineer.readthedocs.io"; - maintainers = [ maintainers.matthiasbeyer ]; + changelog = "https://github.com/almarklein/asgineer/releases/tag/v${src.tag}"; + license = licenses.bsd2; + maintainers = with maintainers; [ matthiasbeyer ]; }; }