88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
31 lines
643 B
Nix
31 lines
643 B
Nix
{ lib
|
|
, pythonOlder
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastimport";
|
|
version = "0.9.14";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca";
|
|
};
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m unittest discover
|
|
'';
|
|
|
|
pythonImportsCheck = [ "fastimport" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jelmer/python-fastimport";
|
|
description = "VCS fastimport/fastexport parser";
|
|
maintainers = with maintainers; [ koral ];
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|