2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "multitasking";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.0.10";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
# GitHub source releases aren't tagged
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "810640fa6670be41f4a712b287d9307a14ad849d966f06a17d2cf1593b66c3cd";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # No tests included
|
|
|
|
pythonImportsCheck = [ "multitasking" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Non-blocking Python methods using decorators";
|
|
|
|
homepage = "https://github.com/ranaroussi/multitasking";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ drewrisinger ];
|
|
|
|
};
|
|
|
|
}
|