1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pyannotate
5, pytest
6}:
7
8buildPythonPackage rec {
9 version = "1.0.2";
10 pname = "pytest-annotate";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "03e4dece2d1aa91666034f1b2e8bb7a7b8c6be11baf3cf2929b26eea5c6e86f3";
15 };
16
17 propagatedBuildInputs = [ pyannotate pytest ];
18
19 # not testing for a testing module...
20 doCheck = false;
21
22 meta = with stdenv.lib; {
23 homepage = https://github.com/kensho-technologies/pytest-annotate;
24 description = "Generate PyAnnotate annotations from your pytest tests";
25 license = licenses.asl20;
26 maintainers = [ maintainers.costrouc ];
27 };
28}