pythonPackages.selectors34: drop

package is abandonded and supports only Python < 3.4
This commit is contained in:
Markus S. Wamser
2021-05-29 22:40:21 +02:00
parent 4c971831b7
commit 2d82a3e2ca
4 changed files with 4 additions and 33 deletions

View File

@@ -7,7 +7,6 @@
, cloudpickle
, msgpack
, isPy27
, selectors34
, pytestCheckHook
}:
@@ -15,6 +14,8 @@ buildPythonPackage rec {
pname = "Pyro4";
version = "4.80";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "46847ca703de3f483fbd0b2d22622f36eff03e6ef7ec7704d4ecaa3964cb2220";
@@ -22,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
serpent
] ++ lib.optionals isPy27 [ selectors34 ];
];
buildInputs = [
dill

View File

@@ -1,29 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
pname = "selectors34";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "09f5066337f8a76fb5233f267873f89a27a17c10bf79575954894bb71686451c";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with lib; {
description = "A backport of the selectors module from Python 3.4";
homepage = "https://github.com/berkerpeksag/selectors34";
license = licenses.psfl;
maintainers = with maintainers; [ prusnak ];
};
}