Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 71 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies attrs, hyperlink, incremental, tubes, twisted, werkzeug, zope-interface,
# tests idna, python, treq,}:
buildPythonPackage rec { pname = "klein"; version = "24.8.0"; pyproject = true;
src = fetchFromGitHub { owner = "twisted"; repo = "klein"; tag = version; hash = "sha256-2/zl4fS9ZP73quPmGnz2+brEt84ODgVS89Om/cUsj0M="; };
build-system = [ incremental setuptools ];
dependencies = [ attrs hyperlink incremental twisted tubes werkzeug zope-interface ];
nativeCheckInputs = [ idna treq ];
checkPhase = '' runHook preCheck ${python.interpreter} -m twisted.trial klein runHook postCheck '';
pythonImportsCheck = [ "klein" ];
meta = { changelog = "https://github.com/twisted/klein/releases/tag/${version}"; description = "Klein Web Micro-Framework"; homepage = "https://github.com/twisted/klein"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ exarkun ]; };}