mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
pythonPackages.pytest-celery: init at 0.0.0a1
This commit is contained in:
parent
95f108391d
commit
abf8d39026
21
pkgs/development/python-modules/pytest-celery/default.nix
Normal file
21
pkgs/development/python-modules/pytest-celery/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, setuptools_scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-celery";
|
||||
version = "0.0.0a1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qifwi7q8dfwbzz2vm5m40lw23qh2fzibngbmw6qgwnkq8bhh3iy";
|
||||
};
|
||||
|
||||
patches = [ ./no-celery.patch ];
|
||||
|
||||
doCheck = false; # This package has nothing to test or import.
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "pytest plugin for unittest subTest() support and subtests fixture";
|
||||
homepage = "https://github.com/pytest-dev/pytest-subtests";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
This plugin is needed to test celery itself, so it can't depend on celery.
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -6,3 +6,3 @@ from distutils.core import setup
|
||||
install_requires = \
|
||||
-['celery >= 4.4.0']
|
||||
+[]
|
||||
|
@ -5708,6 +5708,8 @@ in {
|
||||
|
||||
pytest-catchlog = callPackage ../development/python-modules/pytest-catchlog { };
|
||||
|
||||
pytest-celery = callPackage ../development/python-modules/pytest-celery { };
|
||||
|
||||
pytest-check = callPackage ../development/python-modules/pytest-check { };
|
||||
|
||||
pytest-click = callPackage ../development/python-modules/pytest-click { };
|
||||
|
Loading…
Reference in New Issue
Block a user