Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, nix-update-script, poetry-core, django, django-pgtrigger,}:
buildPythonPackage rec { pname = "django-pgpubsub"; version = "1.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "PaulGilmartin"; repo = "django-pgpubsub"; tag = version; hash = "sha256-Gl6NfBaoj3WKLHwJElbb27CYVQ83s3f86NUOZE7lHCk="; };
passthru.updateScript = nix-update-script { };
postPatch = '' substituteInPlace pyproject.toml \ --replace 'poetry.masonry.api' 'poetry.core.masonry.api' \ --replace 'poetry>=1.1.13' 'poetry-core>=1.0.0' \ '';
build-system = [ poetry-core ];
dependencies = [ django django-pgtrigger ];
pythonImportsCheck = [ "pgpubsub" ];
meta = { description = "Lightweight background tasks using Django Channels and PostgreSQL NOTIFY/LISTEN"; homepage = "https://github.com/PaulGilmartin/django-pgpubsub"; changelog = "https://github.com/PaulGilmartin/django-pgpubsub/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ raitobezarius ]; };}