2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitLab,
|
|
|
|
pytestCheckHook,
|
2023-05-24 13:37:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "trampoline";
|
|
|
|
version = "0.1.2";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
# only wheel on pypi, no tags on git
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "ferreum";
|
|
|
|
repo = "trampoline";
|
|
|
|
rev = "1d98f39c3015594e2ac8ed48dccc2f393b4dd82b";
|
|
|
|
hash = "sha256-A/tuR+QW9sKh76Qjwn1uQxlVJgWrSFzXeBRDdnSi2o4=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "trampoline" ];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple and tiny yield-based trampoline implementation for python";
|
|
|
|
homepage = "https://gitlab.com/ferreum/trampoline";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = teams.tts.members;
|
|
|
|
};
|
|
|
|
}
|