3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.poetry-plugin-export: init at 1.0.6

This commit is contained in:
Martin Weinelt 2022-09-14 03:44:01 +02:00
parent eed7179cd7
commit 3038f1715d
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
}:
buildPythonPackage rec {
pname = "poetry-plugin-export";
version = "1.0.6";
format = "pyproject";
src = fetchFromGitHub {
owner = "python-poetry";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-wZbXIAGKTvbcYN1Sx9MCPVIiHxHzdpbLOVShHBEWUVU=";
};
postPatch = ''
sed -i '/poetry =/d' pyproject.toml
'';
nativeBuildInputs = [
poetry-core
];
# infinite recursion with poetry
doCheck = false;
pythonImportsCheck = [];
meta = with lib; {
description = "Poetry plugin to export the dependencies to various formats";
license = licenses.mit;
homepage = "https://github.com/python-poetry/poetry-plugin-export";
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -7108,6 +7108,8 @@ in {
poetry-dynamic-versioning = callPackage ../development/python-modules/poetry-dynamic-versioning { };
poetry-plugin-export = callPackage ../development/python-modules/poetry-plugin-export { };
poetry-semver = callPackage ../development/python-modules/poetry-semver { };
poetry2conda = callPackage ../development/python-modules/poetry2conda { };