1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 cython,
6 setuptools,
7 wheel,
8}:
9
10buildPythonPackage rec {
11 pname = "cython-test-exception-raiser";
12 version = "1.0.2";
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "twisted";
17 repo = "cython-test-exception-raiser";
18 rev = "v${version}";
19 hash = "sha256-fwMq0pOrFUJnPndH/a6ghoo6mlcVSxtsWazqE9mCx3M=";
20 };
21
22 nativeBuildInputs = [
23 cython
24 setuptools
25 wheel
26 ];
27
28 pythonImportsCheck = [ "cython_test_exception_raiser" ];
29
30 meta = with lib; {
31 description = "Testing only. A cython simple extension which is used as helper for twisted/twisted Failure tests";
32 homepage = "https://github.com/twisted/cython-test-exception-raiser";
33 changelog = "https://github.com/twisted/cython-test-exception-raiser/blob/${src.rev}/CHANGELOG.rst";
34 license = with licenses; [
35 publicDomain
36 mit
37 ];
38 maintainers = [ ];
39 };
40}