pythonPackages.fastimport: requires Python >= 3.5

This commit is contained in:
Robert Schütz 2021-07-03 15:07:33 +02:00
parent d364e06e4b
commit 08a338ef7e

View file

@ -1,9 +1,16 @@
{ lib, buildPythonPackage, python, fetchPypi}:
{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "fastimport";
version = "0.9.13";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "486135a39edb85808fdbbe2c8009197978800a4544fca56cc2074df32e1304f3";
@ -13,8 +20,10 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover
'';
pythonImportsCheck = [ "fastimport" ];
meta = with lib; {
homepage = "https://launchpad.net/python-fastimport";
homepage = "https://github.com/jelmer/python-fastimport";
description = "VCS fastimport/fastexport parser";
maintainers = with maintainers; [ koral ];
license = licenses.gpl2Plus;