1{ buildPythonPackage 2, lib 3, fetchurl 4, pytest 5, u-msgpack-python 6, six 7}: 8 9let 10 pname = "pytest-expect"; 11 version = "1.1.0"; 12in buildPythonPackage rec { 13 name = "${pname}-${version}"; 14 15 src = fetchurl { 16 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; 17 sha256 = "36b4462704450798197d090809a05f4e13649d9cba9acdc557ce9517da1fd847"; 18 }; 19 20 buildInputs = [ pytest ]; 21 propagatedBuildInputs = [ u-msgpack-python six ]; 22 23 # Tests in neither the archive nor the repo 24 doCheck = false; 25 26 meta = { 27 description = "py.test plugin to store test expectations and mark tests based on them"; 28 homepage = https://github.com/gsnedders/pytest-expect; 29 license = lib.licenses.mit; 30 }; 31}