ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-celery / default.nix
blob9efd9f49f2b4e16b6555d3bf7b1fc4c73e00d131
1 { lib, buildPythonPackage, fetchFromGitHub }:
3 buildPythonPackage rec {
4   pname = "pytest-celery";
5   version = "0.1.0";
7   format = "flit";
9   src = fetchFromGitHub {
10     owner = "celery";
11     repo = "pytest-celery";
12     rev = "v${version}";
13     sha256 = "sha256-vzWwkOS3BLOInaFDk+PegvEmC88ZZ1sG1CmHwhn7r9w=";
14   };
16   postPatch = ''
17     # avoid infinite recursion with celery
18     substituteInPlace pyproject.toml \
19       --replace '"celery >= 4.4.0"' ""
20   '';
22   # This package has nothing to test or import.
23   doCheck = false;
25   meta = with lib; {
26     description = "Pytest plugin to enable celery.contrib.pytest";
27     homepage = "https://github.com/celery/pytest-celery";
28     license = licenses.mit;
29     maintainers = [ ];
30   };