1{ lib 2, buildPythonPackage 3, fetchFromGitLab 4, pytestCheckHook 5}: 6 7buildPythonPackage { 8 pname = "trampoline"; 9 version = "0.1.2"; 10 format = "setuptools"; 11 12 # only wheel on pypi, no tags on git 13 src = fetchFromGitLab { 14 owner = "ferreum"; 15 repo = "trampoline"; 16 rev = "1d98f39c3015594e2ac8ed48dccc2f393b4dd82b"; 17 hash = "sha256-A/tuR+QW9sKh76Qjwn1uQxlVJgWrSFzXeBRDdnSi2o4="; 18 }; 19 20 pythonImportsCheck = [ 21 "trampoline" 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 meta = with lib; { 29 description = "Simple and tiny yield-based trampoline implementation for python"; 30 homepage = "https://gitlab.com/ferreum/trampoline"; 31 license = licenses.mit; 32 maintainers = teams.tts.members; 33 }; 34}