Skip to content

Commit

Permalink
python3Packages.zope_lifecycleevent: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Jun 3, 2020
1 parent 7a8434c commit 22ef38b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/zope_lifecycleevent/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, zope_event
, zope_component
, zope_interface
}:

buildPythonPackage rec {
Expand All @@ -16,6 +18,15 @@ buildPythonPackage rec {

propagatedBuildInputs = [ zope_event zope_component ];

# namespace colides with local directory
doCheck = false;

# zope uses pep 420 namespaces for python3, doesn't work with nix + python2
pythonImportsCheck = stdenv.lib.optionals isPy3k [
"zope.lifecycleevent"
"zope.interface"
];

meta = with stdenv.lib; {
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
description = "Object life-cycle events";
Expand Down

0 comments on commit 22ef38b

Please sign in to comment.