Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ buildPythonPackage, fetchFromGitHub, httpx, lib, nix-update-script, poetry-core, pytestCheckHook, requests,}:
buildPythonPackage rec { pname = "discord-webhook"; version = "1.4.1"; pyproject = true;
src = fetchFromGitHub { owner = "lovvskillz"; repo = "python-discord-webhook"; tag = "${version}"; hash = "sha256-7nVvtXo1XjQExZSCF9VaYSCeEByJY2jn5KbVGTi33f0="; };
build-system = [ poetry-core ];
dependencies = [ requests httpx # Optional, required for async support. ];
pythonImportsCheck = [ "discord_webhook" ];
nativeCheckInputs = [ pytestCheckHook ];
passthru.updateScript = nix-update-script { };
meta = { description = "Execute discord webhooks"; homepage = "https://github.com/lovvskillz/python-discord-webhook"; changelog = "https://github.com/lovvskillz/python-discord-webhook/blob/${version}/CHANGES.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ polyfloyd ]; };}