Files
nixpkgs/pkgs/development/python-modules/forbiddenfruit/default.nix
Martin Weinelt 24871b4859 python313Packages.forbiddenfruit: disable tests
This has become a dependency of anyio via blockbuster, so we have to keep
it around again.
2025-04-03 23:10:31 +02:00

39 lines
806 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
version = "0.1.4";
pname = "forbiddenfruit";
pyproject = true;
src = fetchFromGitHub {
owner = "clarete";
repo = "forbiddenfruit";
tag = version;
hash = "sha256-yHIZsVn2UVmWeBNIzWDE6AOwAXZilPqXo+bVtXqGkJk=";
};
build-system = [ setuptools ];
env.FFRUIT_EXTENSION = "true";
pythonImportsCheck = [ "forbiddenfruit" ];
doCheck = false; # uses nose
meta = with lib; {
description = "Patch python built-in objects";
homepage = "https://github.com/clarete/forbiddenfruit";
changelog = "https://github.com/clarete/forbiddenfruit/releases/tag/${version}";
license = with licenses; [
mit
gpl3Plus
];
maintainers = with maintainers; [ ];
};
}