python310Packages.trampoline: init at 0.1.2

This commit is contained in:
Martin Weinelt 2023-05-16 15:03:46 +02:00
parent 3ba5ff8416
commit b1b84b722c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitLab
, pytestCheckHook
}:
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=";
};
pythonImportsCheck = [
"trampoline"
];
nativeCheckInputs = [
pytestCheckHook
];
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;
};
}

View file

@ -12207,6 +12207,8 @@ self: super: with self; {
traittypes = callPackage ../development/python-modules/traittypes { };
trampoline = callPackage ../development/python-modules/trampoline { };
transaction = callPackage ../development/python-modules/transaction { };
transformers = callPackage ../development/python-modules/transformers { };