default.nix (849B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "starlette-cramjam"; 9 version = "0.5.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "developmentseed"; 14 repo = "starlette-cramjam"; 15 tag = version; 16 hash = "sha256-D4kYEXL4WTle3HnWwzub/AWwMm9xDIYdAVgpPmkJmns="; 17 }; 18 19 build-system = with python3Packages; [ flit ]; 20 21 dependencies = with python3Packages; [ 22 httpx 23 starlette 24 cramjam 25 typing-extensions 26 ]; 27 28 pythonRelaxDeps = true; 29 30 doCheck = false; 31 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 32 33 meta = { 34 description = "Cramjam integration for Starlette ASGI framework"; 35 homepage = "https://github.com/developmentseed/starlette-cramjam"; 36 license = lib.licenses.mit; 37 maintainers = [ lib.maintainers.sikmir ]; 38 }; 39 }