1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "decorator";
9 version = "5.1.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-Y3mWIRA2tjhe+RQ15PriKYlHL51XH6uoknuoJTrLwzA=";
15 };
16
17 pythonImportsCheck = [
18 "decorator"
19 ];
20
21 nativeCheckInputs = [
22 pytestCheckHook
23 ];
24
25 pytestFlagsArray = [
26 "src/tests/test.py"
27 ];
28
29 meta = with lib; {
30 homepage = "https://github.com/micheles/decorator";
31 description = "Better living through Python with decorators";
32 license = licenses.bsd2;
33 maintainers = with maintainers; [ ];
34 };
35}