python3Packages.antlr4-python-runtime: remove versioned variants

The python package set cannot support multiple versions of a package,
since they would collide when different versions would be used at the
same time. This can too easily happen through transitive propagation,
which is why we don't support it.
This commit is contained in:
Martin Weinelt 2022-12-26 18:38:21 +01:00
parent 503c4c1b68
commit fd2a0bdd6b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
{ stdenv
, lib
, antlr4_9-python3-runtime
, antlr4-python3-runtime
, buildPythonPackage
, fetchFromGitHub
, importlib-resources
@ -29,7 +29,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
antlr4_9-python3-runtime
antlr4-python3-runtime
omegaconf
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources

View File

@ -1,5 +1,5 @@
{ lib
, antlr4_9-python3-runtime
, antlr4-python3-runtime
, buildPythonPackage
, fetchFromGitHub
, jre_minimal
@ -29,7 +29,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
antlr4_9-python3-runtime
antlr4-python3-runtime
pyyaml
];

View File

@ -488,13 +488,9 @@ self: super: with self; {
ansiwrap = callPackage ../development/python-modules/ansiwrap { };
antlr4_8-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {
antlr4 = pkgs.antlr4_8;
antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {
inherit (pkgs) antlr4;
};
antlr4_9-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {
antlr4 = pkgs.antlr4_9;
};
antlr4-python3-runtime = self.antlr4_8-python3-runtime;
anyascii = callPackage ../development/python-modules/anyascii { };