Merge pull request #99513 from r-ryantm/auto-update/python2.7-pytest-twisted
python27Packages.pytest-twisted: 1.12 -> 1.13.2
This commit is contained in:
commit
7b48406dc1
2 changed files with 11 additions and 8 deletions
|
@ -8,12 +8,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-twisted";
|
||||
version = "1.12";
|
||||
version = "1.13.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "bb9af117c5c6063d9ef20ffdf2fa297caaf57de5a687e4d3607db7b0a6f74fea";
|
||||
sha256 = "cee2320becc5625050ab221b8f38533e636651a24644612f4726891fdf1f1847";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ greenlet pytest decorator ];
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
{ stdenv, fetchPypi, buildPythonPackage, pytest, fake-useragent, scrapy }:
|
||||
{ stdenv, fetchFromGitHub, buildPythonPackage, pytestCheckHook, pytestcov, pytest-mock, fake-useragent, faker, scrapy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scrapy-fake-useragent";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3b17e982e646918dc25080da0672812d07bfb7a92a58377c014c74e0182c665e";
|
||||
# PyPi tarball is corrupted
|
||||
src = fetchFromGitHub {
|
||||
owner = "alecxe";
|
||||
repo = pname;
|
||||
rev = "59c20d38c58c76618164760d546aa5b989a79b8b"; # no tags
|
||||
sha256 = "0yb7d51jws665rdfqkmi077w0pjxmb2ni7ysphj7lx7b18whq54j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fake-useragent ];
|
||||
propagatedBuildInputs = [ fake-useragent faker ];
|
||||
|
||||
checkInputs = [ pytest scrapy ];
|
||||
checkInputs = [ pytestCheckHook scrapy pytestcov pytest-mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Random User-Agent middleware based on fake-useragent";
|
||||
|
|
Loading…
Reference in a new issue