2018-01-01 11:46:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, python, fetchPypi}:
|
2017-11-05 22:37:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-01-01 11:46:58 +01:00
|
|
|
pname = "fastimport";
|
2018-05-09 16:46:51 +02:00
|
|
|
version = "0.9.8";
|
2017-11-05 22:37:27 +01:00
|
|
|
|
2018-01-01 11:46:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-09 16:46:51 +02:00
|
|
|
sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9";
|
2017-11-05 22:37:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://launchpad.net/python-fastimport;
|
|
|
|
description = "VCS fastimport/fastexport parser";
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|