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 ]; }; }