2021-07-03 14:07:33 +01:00
|
|
|
{ lib
|
|
|
|
, pythonOlder
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
}:
|
2017-11-05 21:37:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-01-01 10:46:58 +00:00
|
|
|
pname = "fastimport";
|
2021-06-18 22:47:16 +01:00
|
|
|
version = "0.9.13";
|
2017-11-05 21:37:27 +00:00
|
|
|
|
2021-07-03 14:07:33 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2018-01-01 10:46:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:16 +01:00
|
|
|
sha256 = "486135a39edb85808fdbbe2c8009197978800a4544fca56cc2074df32e1304f3";
|
2017-11-05 21:37:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover
|
|
|
|
'';
|
|
|
|
|
2021-07-03 14:07:33 +01:00
|
|
|
pythonImportsCheck = [ "fastimport" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-07-03 14:07:33 +01:00
|
|
|
homepage = "https://github.com/jelmer/python-fastimport";
|
2017-11-05 21:37:27 +00:00
|
|
|
description = "VCS fastimport/fastexport parser";
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|