python311Packages.fn: disable

This commit is contained in:
Ryan Hendrickson 2023-05-20 15:32:00 -04:00
parent 95483d41fa
commit 93b61e55f3

View file

@ -2,12 +2,17 @@
, buildPythonPackage , buildPythonPackage
, fetchpatch , fetchpatch
, fetchPypi , fetchPypi
, pythonAtLeast
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fn"; pname = "fn";
version = "0.4.3"; version = "0.4.3";
# Python 3.11 changed the API of the `inspect` module and fn was never
# updated to adapt; last commit was in 2014.
disabled = pythonAtLeast "3.11";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq"; sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq";