|
|
|
@ -1,6 +1,8 @@ |
|
|
|
|
{ stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py }: |
|
|
|
|
{ stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py |
|
|
|
|
, setuptools_scm |
|
|
|
|
}: |
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
version = "3.0.7"; |
|
|
|
|
version = "3.2.1"; |
|
|
|
|
pname = "pytest"; |
|
|
|
|
name = "${pname}-${version}"; |
|
|
|
|
|
|
|
|
@ -11,10 +13,10 @@ buildPythonPackage rec { |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "mirror://pypi/p/pytest/${name}.tar.gz"; |
|
|
|
|
sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab"; |
|
|
|
|
sha256 = "4c2159d2be2b4e13fa293e7a72bdf2f06848a017150d5c6d35112ce51cfd74ce"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ hypothesis ]; |
|
|
|
|
buildInputs = [ hypothesis setuptools_scm ]; |
|
|
|
|
propagatedBuildInputs = [ py ] |
|
|
|
|
++ (stdenv.lib.optional isPy26 argparse); |
|
|
|
|
|
|
|
|
|