1{ lib 2, buildPythonPackage 3, fetchPypi 4, pbr 5, testtools 6, mock 7, python 8}: 9 10buildPythonPackage rec { 11 pname = "fixtures"; 12 version = "3.0.0"; 13 name = "${pname}-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "fcf0d60234f1544da717a9738325812de1f42c2fa085e2d9252d8fff5712b2ef"; 18 }; 19 20 propagatedBuildInputs = [ pbr testtools mock ]; 21 22 checkPhase = '' 23 ${python.interpreter} -m testtools.run fixtures.test_suite 24 ''; 25 26 meta = { 27 description = "Reusable state for writing clean tests and more"; 28 homepage = "https://pypi.python.org/pypi/fixtures"; 29 license = lib.licenses.asl20; 30 }; 31}