1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "asgineer"; 11 version = "0.8.2"; 12 format = "setuptools"; 13 14 # PyPI tarball doesn't include tests directory 15 src = fetchFromGitHub { 16 owner = "almarklein"; 17 repo = pname; 18 rev = "refs/tags/v${version}"; 19 sha256 = "sha256-UYnVlsdEhEAJF21zVmjAXX01K6LQR2I+Dfw5tSsmf5E="; 20 }; 21 22 nativeCheckInputs = [ 23 pytestCheckHook 24 requests 25 ]; 26 27 meta = with lib; { 28 description = "A really thin ASGI web framework"; 29 license = licenses.bsd2; 30 homepage = "https://asgineer.readthedocs.io"; 31 maintainers = [ maintainers.matthiasbeyer ]; 32 }; 33}