nixpkgs/pkgs/development/python-modules/pytest-asyncio/default.nix

22 lines
568 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchurl, pytest, isPy3k }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pytest-asyncio";
2017-08-24 19:34:20 +02:00
version = "0.6.0";
disabled = !isPy3k;
src = fetchurl {
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
2017-08-24 19:34:20 +02:00
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;
};
}