nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 817 B view raw
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchPypi 5, pyannotate 6, pytest 7}: 8 9buildPythonPackage rec { 10 pname = "pytest-annotate"; 11 version = "1.0.4"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "d0da4c3d872a7d5796ac85016caa1da38ae902bebdc759e1b6c0f6f8b5802741"; 17 }; 18 19 buildInputs = [ 20 pytest 21 ]; 22 23 propagatedBuildInputs = [ 24 pyannotate 25 ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "pytest_annotate" 32 ]; 33 34 meta = with lib; { 35 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; 36 description = "Generate PyAnnotate annotations from your pytest tests"; 37 homepage = "https://github.com/kensho-technologies/pytest-annotate"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ costrouc ]; 40 }; 41}