at master 792 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 requests, 7 flit-core, 8}: 9 10buildPythonPackage rec { 11 pname = "asgineer"; 12 version = "0.9.3"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "almarklein"; 17 repo = "asgineer"; 18 tag = "v${version}"; 19 hash = "sha256-Uk1kstEBt321BVeNcfdhZuonmm1i9IXSBnZLa4eDS2E="; 20 }; 21 22 build-system = [ flit-core ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 requests 27 ]; 28 29 pythonImportsCheck = [ "asgineer" ]; 30 31 meta = with lib; { 32 description = "Really thin ASGI web framework"; 33 homepage = "https://asgineer.readthedocs.io"; 34 changelog = "https://github.com/almarklein/asgineer/releases/tag/v${src.tag}"; 35 license = licenses.bsd2; 36 maintainers = with maintainers; [ matthiasbeyer ]; 37 }; 38}