Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
708 B · 34 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook}:
buildPythonPackage rec { pname = "ratelimit"; version = "2.2.1";
src = fetchFromGitHub { owner = "tomasbasham"; repo = pname; rev = "v${version}"; sha256 = "04hy3hhh5xdqcsz0lx8j18zbj88kh5ik4wyi5d3a5sfy2hx70in2"; };
postPatch = '' sed -i "/--cov/d" pytest.ini '';
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ];
pythonImportsCheck = [ "ratelimit" ];
meta = with lib; { description = "Python API Rate Limit Decorator"; homepage = "https://github.com/tomasbasham/ratelimit"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}