Files
nixpkgs/pkgs/development/python-modules/cython-test-exception-raiser/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

41 lines
921 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "cython-test-exception-raiser";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "twisted";
repo = "cython-test-exception-raiser";
rev = "v${version}";
hash = "sha256-fwMq0pOrFUJnPndH/a6ghoo6mlcVSxtsWazqE9mCx3M=";
};
nativeBuildInputs = [
cython
setuptools
wheel
];
pythonImportsCheck = [ "cython_test_exception_raiser" ];
meta = {
description = "Testing only. A cython simple extension which is used as helper for twisted/twisted Failure tests";
homepage = "https://github.com/twisted/cython-test-exception-raiser";
changelog = "https://github.com/twisted/cython-test-exception-raiser/blob/${src.rev}/CHANGELOG.rst";
license = with lib.licenses; [
publicDomain
mit
];
maintainers = [ ];
};
}