about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-asyncio/default.nix
blob: 966a207e50cf9c5077a17f04c475bddee6d100d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }:
buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "pytest-asyncio";
  version = "0.5.0";

  disabled = !isPy3k;

  src = fetchurl {
    url = "mirror://pypi/p/${pname}/${name}.tar.gz";
    sha256 = "03sxq8fglr4lw4y6wqlbli9ypr65fxzx6hlpn5wpccx8v5472iff";
  };

  buildInputs = [ pytest ];

  meta = with stdenv.lib; {
    description = "library for testing asyncio code with pytest";
    license = licenses.asl20;
    homepage = https://github.com/pytest-dev/pytest-asyncio;
  };
}