1{ stdenv, buildPythonPackage, python, fetchPypi}: 2 3buildPythonPackage rec { 4 pname = "fastimport"; 5 version = "0.9.8"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9"; 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}