pypi2nix: remove

It has been broken since 2021 and upstream has been archived
This commit is contained in:
figsoda 2023-06-02 14:16:52 -04:00 committed by Frederik Rietdijk
parent 2f181d6f06
commit 2bfb2f045a
4 changed files with 1 additions and 32 deletions

View file

@ -1514,10 +1514,6 @@ Note: There is a boolean value `lib.inNixShell` set to `true` if nix-shell is in
Packages inside nixpkgs are written by hand. However many tools exist in
community to help save time. No tool is preferred at the moment.
- [pypi2nix](https://github.com/nix-community/pypi2nix): Generate Nix
expressions for your Python project. Note that [sharing derivations from
pypi2nix with nixpkgs is possible but not
encouraged](https://github.com/nix-community/pypi2nix/issues/222#issuecomment-443497376).
- [nixpkgs-pytools](https://github.com/nix-community/nixpkgs-pytools)
- [poetry2nix](https://github.com/nix-community/poetry2nix)

View file

@ -1,26 +0,0 @@
{ python3
, fetchPypi
}:
with python3;
pkgs.buildPythonApplication rec {
pname = "pypi2nix";
version = "2.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "0y4zkkcijz5hchd8j6a106ysrg1dnad7dzdgnmz38rgm6zbrky0d";
};
propagatedBuildInputs = with pkgs; [
attrs
click
jinja2
nix-prefetch-github
packaging
parsley
setuptools
toml
jsonschema
];
# https://github.com/nix-community/pypi2nix/issues/460
meta.broken = true;
}

View file

@ -1389,6 +1389,7 @@ mapAliases ({
pyload = throw "pyload has been removed from nixpkgs, as it was unmaintained"; # Added 2021-03-21
pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd"; # Added 2020-10-24
pyo3-pack = maturin;
pypi2nix = throw "pypi2nix has been removed due to being unmaintained";
pypolicyd-spf = spf-engine; # Added 2022-10-09
pyrex = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2"; # Added 2022-01-12
pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2"; # Added 2022-01-12

View file

@ -17290,8 +17290,6 @@ with pkgs;
check-jsonschema = callPackage ../development/tools/check-jsonschema { };
pypi2nix = callPackage ../development/tools/pypi2nix { };
pypi-mirror = callPackage ../development/tools/pypi-mirror { };
setupcfg2nix = python3Packages.callPackage ../development/tools/setupcfg2nix { };