base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / po / poetry / plugins / poetry-plugin-export.nix
blobaa365ebb36b3446f88e5e6ddc2afd854140fb4d7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 }:
7 buildPythonPackage rec {
8   pname = "poetry-plugin-export";
9   version = "1.8.0";
10   format = "pyproject";
12   src = fetchFromGitHub {
13     owner = "python-poetry";
14     repo = pname;
15     rev = "refs/tags/${version}";
16     hash = "sha256-ZXhj9FwCCNFMzyoAtQTD8bddOvVM4KzNtd+3sBn9i+w=";
17   };
19   postPatch = ''
20     sed -i '/poetry =/d' pyproject.toml
21   '';
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   # infinite recursion with poetry
28   doCheck = false;
29   pythonImportsCheck = [];
31   meta = with lib; {
32     changelog = "https://github.com/python-poetry/poetry-plugin-export/blob/${src.rev}/CHANGELOG.md";
33     description = "Poetry plugin to export the dependencies to various formats";
34     license = licenses.mit;
35     homepage = "https://github.com/python-poetry/poetry-plugin-export";
36     maintainers = [ ];
37   };