mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
pythonPackages.selectors34: drop
package is abandonded and supports only Python < 3.4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user