blob: d6fa1a138eb985161179c70fe302eb2d9bd14da3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
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 = {
description = "Simple and tiny yield-based trampoline implementation for python";
homepage = "https://gitlab.com/ferreum/trampoline";
license = lib.licenses.mit;
teams = [ lib.teams.tts ];
};
}
|