1{ lib 2, pythonOlder 3, buildPythonPackage 4, fetchPypi 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "fastimport"; 10 version = "0.9.14"; 11 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca"; 17 }; 18 19 checkPhase = '' 20 ${python.interpreter} -m unittest discover 21 ''; 22 23 pythonImportsCheck = [ "fastimport" ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/jelmer/python-fastimport"; 27 description = "VCS fastimport/fastexport parser"; 28 maintainers = with maintainers; [ koral ]; 29 license = licenses.gpl2Plus; 30 }; 31}