1{ stdenv, buildPythonPackage, python, fetchPypi}: 2 3buildPythonPackage rec { 4 pname = "fastimport"; 5 version = "0.9.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43"; 10 }; 11 12 checkPhase = '' 13 ${python.interpreter} -m unittest discover 14 ''; 15 16 meta = with stdenv.lib; { 17 homepage = https://launchpad.net/python-fastimport; 18 description = "VCS fastimport/fastexport parser"; 19 maintainers = with maintainers; [ koral ]; 20 license = licenses.gpl2Plus; 21 }; 22}