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

Changed files
+10 -19
pkgs
by-name
pi
pipenv-poetry-migrate
top-level
+9 -17
pkgs/development/python-modules/pipenv-poetry-migrate/default.nix pkgs/by-name/pi/pipenv-poetry-migrate/package.nix
···
{
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";
···
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
pkgs/top-level/python-aliases.nix
···
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
pkgs/top-level/python-packages.nix
···
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;