about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-asyncio/default.nix
blob: 605c970cedc42decc1a3bf9f9270e66193f3539b (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.6.0";

  disabled = !isPy3k;

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

  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;
  };
}