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