Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }: 2buildPythonPackage rec { 3 name = "${pname}-${version}"; 4 pname = "pytest-asyncio"; 5 version = "0.6.0"; 6 7 disabled = !isPy3k; 8 9 src = fetchurl { 10 url = "mirror://pypi/p/${pname}/${name}.tar.gz"; 11 sha256 = "e5c6786ece4b3bbb0cca1bf68bf089756a62760e3764dc84eaee39bfab70289b"; 12 }; 13 14 buildInputs = [ pytest ]; 15 16 meta = with stdenv.lib; { 17 description = "library for testing asyncio code with pytest"; 18 license = licenses.asl20; 19 homepage = https://github.com/pytest-dev/pytest-asyncio; 20 }; 21}