default.nix (672B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "server-thread"; 5 version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "banesullivan"; 9 repo = "server-thread"; 10 rev = version; 11 hash = "sha256-EAL/moz3AIPBRLfAVI2zcCstjLsssKqBrxIDvq9CV3g="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ scooby werkzeug ]; 15 16 nativeCheckInputs = with python3Packages; [ flask requests pytestCheckHook ]; 17 18 meta = with lib; { 19 description = "Launch a WSGIApplication in a background thread with werkzeug"; 20 inherit (src.meta) homepage; 21 license = licenses.mit; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }