Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / selectors34 / default.nix
blob2209ccf43d26b1df500f9fa0164fd713c8e7c152
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , python
5 , six
6 }:
8 buildPythonPackage rec {
9   pname = "selectors34";
10   version = "1.2";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "09f5066337f8a76fb5233f267873f89a27a17c10bf79575954894bb71686451c";
15   };
17   propagatedBuildInputs = [ six ];
19   checkPhase = ''
20     ${python.interpreter} setup.py test
21   '';
23   meta = with lib; {
24     description = "A backport of the selectors module from Python 3.4";
25     homepage = "https://github.com/berkerpeksag/selectors34";
26     license = licenses.psfl;
27     maintainers = with maintainers; [ prusnak ];
28     };