mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
pylint-exit: drop as it depends on m2r
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
pname = "pylint-exit";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jongracecox";
|
||||
repo = "pylint-exit";
|
||||
rev = "v${version}";
|
||||
sha256 = "0hwfny48g394visa3xd15425fsw596r3lhkfhswpjrdk2mnk3cny";
|
||||
};
|
||||
|
||||
# Converting the shebang manually as it is not picked up by patchShebangs
|
||||
postPatch = ''
|
||||
substituteInPlace pylint_exit.py \
|
||||
--replace "#!/usr/local/bin/python" "#!${python.interpreter}"
|
||||
'';
|
||||
|
||||
# See https://github.com/jongracecox/pylint-exit/pull/7
|
||||
buildInputs = [ m2r ];
|
||||
|
||||
# setup.py reads its version from the TRAVIS_TAG environment variable
|
||||
env.TRAVIS_TAG = version;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m doctest pylint_exit.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Utility to handle pylint exit codes in an OS-friendly way";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/jongracecox/pylint-exit";
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1800,6 +1800,7 @@ mapAliases {
|
||||
purple-vk-plugin = throw "'purple-vk-plugin' has been removed as upstream repository was deleted and no active forks are found."; # Added 2025-09-17
|
||||
purple-xmpp-http-upload = throw "'purple-xmpp-http-upload' has been renamed to/replaced by 'pidginPackages.purple-xmpp-http-upload'"; # Converted to throw 2025-10-27
|
||||
pyCA = warnAlias "'pyCA' was renamed to 'pyca'" pyca; # Added 2026-02-12
|
||||
pylint-exit = throw "'pylint-exit' was removed as it dependent on m2r which was removed."; # Added 2026-05-27
|
||||
pyload-ng = throw "'pyload-ng' has been removed due to vulnerabilities and being unmaintained"; # Added 2026-03-21
|
||||
pyo3-pack = throw "'pyo3-pack' has been renamed to/replaced by 'maturin'"; # Converted to throw 2025-10-27
|
||||
pyotherside = warnAlias "'pyotherside' has been renamed to 'libsForQt5.pyotherside'. A Qt6 build is available at 'qt6Packages.pyotherside'."; # Added 2026-03-27
|
||||
|
||||
Reference in New Issue
Block a user