2017-10-29 12:27:47 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-08-13 09:27:26 +02:00
|
|
|
, six
|
2017-10-29 12:27:47 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "multipledispatch";
|
2018-08-13 09:27:26 +02:00
|
|
|
version = "0.6.0";
|
2017-10-29 12:27:47 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 09:27:26 +02:00
|
|
|
sha256 = "a7ab1451fd0bf9b92cab3edbd7b205622fb767aeefb4fb536c2e3de9e0a38bea";
|
2017-10-29 12:27:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-08-13 09:27:26 +02:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2017-10-29 12:27:47 +01:00
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mrocklin/multipledispatch/";
|
2017-10-29 12:27:47 +01:00
|
|
|
description = "A relatively sane approach to multiple dispatch in Python";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-04-01 03:11:51 +02:00
|
|
|
}
|