nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 936 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 celery, 7}: 8 9buildPythonPackage rec { 10 pname = "celery-batches"; 11 version = "0.11"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "clokep"; 16 repo = "celery-batches"; 17 tag = "v${version}"; 18 hash = "sha256-+1cpauali+MjDox0esw0+bveOEroIQ0DkuHQuwm/i4Q="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonRelaxDeps = [ 24 # https://github.com/clokep/celery-batches/pull/100 25 "celery" 26 ]; 27 28 dependencies = [ celery ]; 29 30 # requires a running celery 31 doCheck = false; 32 33 pythonImportsCheck = [ "celery_batches" ]; 34 35 meta = { 36 description = "Allows processing of multiple Celery task requests together"; 37 homepage = "https://github.com/clokep/celery-batches"; 38 changelog = "https://github.com/clokep/celery-batches/blob/${src.tag}/CHANGELOG.rst"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ defelo ]; 41 }; 42}