Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 64 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, blurhash, cryptography, decorator, http-ece, python-dateutil, python-magic, pytz, requests, six, pytestCheckHook, pytest-mock, pytest-vcr, requests-mock}:
buildPythonPackage rec { pname = "mastodon-py"; version = "1.8.1";
format = "setuptools";
src = fetchFromGitHub { owner = "halcy"; repo = "Mastodon.py"; rev = "refs/tags/${version}"; hash = "sha256-r0AAUjd2MBfZANEpyztMNyaQTlGWvWoUVjJNO1eL218="; };
postPatch = '' sed -i '/^addopts/d' setup.cfg '';
propagatedBuildInputs = [ blurhash cryptography decorator http-ece python-dateutil python-magic pytz requests six ];
nativeCheckInputs = [ pytestCheckHook pytest-mock pytest-vcr requests-mock ];
pythonImportsCheck = [ "mastodon" ];
meta = with lib; { changelog = "https://github.com/halcy/Mastodon.py/blob/${src.rev}/CHANGELOG.rst"; description = "Python wrapper for the Mastodon API"; homepage = "https://github.com/halcy/Mastodon.py"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}