mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
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:
parent
503c4c1b68
commit
fd2a0bdd6b
@ -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
|
||||
|
@ -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
|
||||
];
|
||||
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user