mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 06:38:22 +03:00
python37Packages.pytest-httpbin: 0.3.0 -> 1.0.0 (#55846)
This commit is contained in:
parent
6e5a66f09f
commit
0f43790d2c
@ -1,28 +1,23 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, flask
|
||||
, decorator
|
||||
, httpbin
|
||||
, six
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-httpbin";
|
||||
version = "0.3.0";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kevin1024";
|
||||
repo = "pytest-httpbin";
|
||||
rev = "v${version}";
|
||||
sha256 = "0p86ljx775gxxicscs1dydmmx92r1g9bs00vdvxrsl3qdll1ksfm";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wlvw5qgkax7f0i5ks1562s37h2hdmn5yxnp1rajcc2289zm9knq";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ flask decorator httpbin six requests ];
|
||||
propagatedBuildInputs = [ httpbin six ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
|
Loading…
Reference in New Issue
Block a user