Skip to content

Commit

Permalink
Merge pull request #314721 from Moraxyc/fix-foolscap
Browse files Browse the repository at this point in the history
python312Packages.foolscap: fix build
  • Loading branch information
risicle authored May 26, 2024
2 parents 12d0d3d + 3a74cef commit 4615c9d
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions pkgs/development/python-modules/foolscap/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
{
lib,
buildPythonPackage,
fetchPypi,
lib,
mock,
pyopenssl,
pytestCheckHook,
pythonOlder,
service-identity,
setuptools,
six,
twisted,
txi2p-tahoe,
txtorcon,
versioneer,
}:

buildPythonPackage rec {
pname = "foolscap";
version = "23.3.0";

disabled = pythonOlder "3.7";
pyproject = true;
build-system = [
setuptools
versioneer
];

format = "setuptools";
disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-Vu7oXC1brsgBwr2q59TAgx8j1AFRbi5mjRNIWZTbkUU=";
};

propagatedBuildInputs = [
postPatch = ''
# Remove vendorized versioneer.py
rm versioneer.py
'';

dependencies = [
six
twisted
pyopenssl
Expand Down

0 comments on commit 4615c9d

Please sign in to comment.