mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
pythonPackages.txaio: 2.5.2 -> 2.7.0
This commit is contained in:
parent
91b5290412
commit
687fe19a04
28
pkgs/development/python-modules/txaio/default.nix
Normal file
28
pkgs/development/python-modules/txaio/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl,
|
||||
pytest, mock, six, twisted
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "txaio";
|
||||
version = "2.7.0";
|
||||
|
||||
buildInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ six twisted ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test -k "not test_sdist"
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
|
||||
sha256 = "0hwd6jx6hb44p40id9r0m42y07rav5jvddf0f1bcm269i3dnwr47";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
|
||||
homepage = "https://github.com/crossbario/txaio";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -31467,31 +31467,7 @@ EOF
|
||||
'';
|
||||
};
|
||||
|
||||
txaio = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "txaio";
|
||||
version = "2.5.2";
|
||||
|
||||
meta = {
|
||||
description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
|
||||
homepage = "https://github.com/crossbario/txaio";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest mock ];
|
||||
propagatedBuildInputs = with self; [ six twisted ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test -k "not test_sdist"
|
||||
'';
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
|
||||
sha256 = "321d441b336447b72dbe81a4d73470414454baf0543ec701fcfecbf4dcbda0fe";
|
||||
};
|
||||
};
|
||||
txaio = callPackage ../development/python-modules/txaio { };
|
||||
|
||||
ramlfications = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user