Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
791 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, flit-core }:
buildPythonPackage rec { pname = "pytest-celery"; version = "0.1.0";
format = "pyproject";
src = fetchFromGitHub { owner = "celery"; repo = "pytest-celery"; rev = "v${version}"; hash = "sha256-vzWwkOS3BLOInaFDk+PegvEmC88ZZ1sG1CmHwhn7r9w="; };
postPatch = '' # avoid infinite recursion with celery substituteInPlace pyproject.toml \ --replace '"celery >= 4.4.0"' "" '';
nativeBuildInputs = [ flit-core ];
# This package has nothing to test or import. doCheck = false;
meta = with lib; { description = "Pytest plugin to enable celery.contrib.pytest"; homepage = "https://github.com/celery/pytest-celery"; license = licenses.mit; maintainers = [ ]; };}