1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5}: 6 7buildPythonPackage rec { 8 pname = "poetry-plugin-export"; 9 version = "1.1.2"; 10 format = "pyproject"; 11 12 src = fetchFromGitHub { 13 owner = "python-poetry"; 14 repo = pname; 15 rev = "refs/tags/${version}"; 16 hash = "sha256-+BDBQwYaiddq3OQDHKmLap3ehWJe+Gh5D3TwuNXycjg="; 17 }; 18 19 postPatch = '' 20 sed -i '/poetry =/d' pyproject.toml 21 ''; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 # infinite recursion with poetry 28 doCheck = false; 29 pythonImportsCheck = []; 30 31 meta = with lib; { 32 description = "Poetry plugin to export the dependencies to various formats"; 33 license = licenses.mit; 34 homepage = "https://github.com/python-poetry/poetry-plugin-export"; 35 maintainers = with maintainers; [ hexa ]; 36 }; 37}