1{ stdenv, buildPythonPackage, fetchPypi }:
2buildPythonPackage rec {
3 pname = "timeout-decorator";
4 version = "0.4.1";
5
6 src = fetchPypi {
7 inherit pname version;
8 sha256 = "1inkf68i2s2x27arpqwkdxigiqbpbpjbbnfv7jzsrif1fmp2fphs";
9 };
10
11 meta = with stdenv.lib; {
12 description = "Timeout decorator";
13 license = licenses.mit;
14 homepage = "https://github.com/pnpnpn/timeout-decorator";
15 };
16}