Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchPypi, dill, dnslib, dnspython, plux, pyaes, python-jose, requests, tabulate
# Sensitive downstream dependencies, localstack}:
buildPythonPackage rec { pname = "localstack-ext"; version = "1.4.0";
src = fetchPypi { inherit pname version; hash = "sha256-/uesHiB/54wEfcWf4e9BW1ZvcVfAgAD7yGAlfYxv+6g="; };
postPatch = '' # Avoid circular dependency sed -i '/localstack>=/d' setup.cfg
# Pip is unable to resolve attr logic, so it will emit version as 0.0.0 substituteInPlace setup.cfg \ --replace "version = attr: localstack_ext.__version__" "version = ${version}" cat setup.cfg
substituteInPlace setup.cfg \ --replace "dill==0.3.2" "dill~=0.3.0" \ --replace "requests>=2.20.0,<2.26" "requests~=2.20" '';
propagatedBuildInputs = [ dill dnslib dnspython plux pyaes python-jose requests tabulate ];
pythonImportsCheck = [ "localstack_ext" ];
# No tests in repo doCheck = false;
passthru.tests = { inherit localstack; };
meta = with lib; { description = "Extensions for LocalStack"; homepage = "https://github.com/localstack/localstack"; license = licenses.asl20; maintainers = with maintainers; [ jonringer ]; };}