1{ lib 2, pythonOlder 3, buildPythonPackage 4, fetchPypi 5, unittestCheckHook 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 nativeCheckInputs = [ unittestCheckHook ]; 20 21 pythonImportsCheck = [ "fastimport" ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/jelmer/python-fastimport"; 25 description = "VCS fastimport/fastexport parser"; 26 maintainers = with maintainers; [ koral ]; 27 license = licenses.gpl2Plus; 28 }; 29}