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 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "fcf0d60234f1544da717a9738325812de1f42c2fa085e2d9252d8fff5712b2ef"; 17 }; 18 19 propagatedBuildInputs = [ pbr testtools mock ]; 20 21 checkPhase = '' 22 ${python.interpreter} -m testtools.run fixtures.test_suite 23 ''; 24 25 meta = { 26 description = "Reusable state for writing clean tests and more"; 27 homepage = "https://pypi.python.org/pypi/fixtures"; 28 license = lib.licenses.asl20; 29 }; 30}