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