Commit eaea9be9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 3f7aa85c
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -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 ];
  };
}