1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5}:
6
7buildPythonPackage rec {
8 pname = "singledispatch";
9 version = "3.4.0.3";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c";
14 };
15
16 propagatedBuildInputs = [ six ];
17
18 # pypi singledispatch tarbal does not contain tests
19 doCheck = false;
20
21 meta = {
22 description = "This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3.";
23 homepage = https://docs.python.org/3/library/functools.html;
24 license = lib.licenses.mit;
25 maintainers = with lib.maintainers; [ costrouc ];
26 };
27}