pipenv-poetry-migrate: move from python3Packages (#373681)

This commit is contained in:
OTABI Tomoya
2025-01-22 22:00:52 +09:00
committed by GitHub
3 changed files with 10 additions and 19 deletions
@@ -1,21 +1,13 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
poetry-core,
tomlkit,
typer,
setuptools,
python3Packages,
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "pipenv-poetry-migrate";
version = "0.6.0";
format = "pyproject";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub {
owner = "yhino";
@@ -24,22 +16,22 @@ buildPythonPackage rec {
hash = "sha256-M31bOvKGUlkzfZRQAxTkxhX8m9cCzEvsNZdyIyipwGI=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ python3Packages.poetry-core ];
propagatedBuildInputs = [
dependencies = with python3Packages; [
setuptools # for pkg_resources
tomlkit
typer
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
meta = with lib; {
meta = {
description = "This is simple migration script, migrate pipenv to poetry";
mainProgram = "pipenv-poetry-migrate";
homepage = "https://github.com/yhino/pipenv-poetry-migrate";
changelog = "https://github.com/yhino/pipenv-poetry-migrate/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ gador ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ gador ];
};
}
+1
View File
@@ -433,6 +433,7 @@ mapAliases ({
pdfx = throw "pdfx has been removed because the upstream repository was archived in 2023"; # Added 2024-10-04
pep257 = pydocstyle; # added 2022-04-12
pillow-simd = throw "pillow-simd has been removed for lagging behind pillow upstream, which exposes it to various security issues."; # Added 2024-10-24
pipenv-poetry-migrate = throw "pipenv-poetry-migrate was promoted to a top-level attribute"; # added 2025-01-14
pixelmatch = "pixelmatch has been removed as it was unmaintained"; # Added 2024-08-18
pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28
poetry = throw "poetry was promoted to a top-level attribute, use poetry-core to build Python packages"; # added 2023-01-09
-2
View File
@@ -10461,8 +10461,6 @@ self: super: with self; {
pipe = callPackage ../development/python-modules/pipe { };
pipenv-poetry-migrate = callPackage ../development/python-modules/pipenv-poetry-migrate { };
piper-phonemize = callPackage ../development/python-modules/piper-phonemize {
onnxruntime-native = pkgs.onnxruntime;
piper-phonemize-native = pkgs.piper-phonemize;