Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / decorator / default.nix
blobc86721f9c73622907c61a0e81778d0b4b6d2f559
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "decorator";
9   version = "5.1.1";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-Y3mWIRA2tjhe+RQ15PriKYlHL51XH6uoknuoJTrLwzA=";
15   };
17   pythonImportsCheck = [
18     "decorator"
19   ];
21   nativeCheckInputs = [
22     pytestCheckHook
23   ];
25   pytestFlagsArray = [
26     "src/tests/test.py"
27   ];
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   };