1{
2 lib,
3 pythonOlder,
4 buildPythonPackage,
5 fetchPypi,
6 unittestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "fastimport";
11 version = "0.9.14";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.5";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca";
19 };
20
21 nativeCheckInputs = [ unittestCheckHook ];
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}