3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fastimport/default.nix

32 lines
643 B
Nix
Raw Normal View History

{ 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";
version = "0.9.13";
2017-11-05 21:37:27 +00:00
disabled = pythonOlder "3.5";
2018-01-01 10:46:58 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "486135a39edb85808fdbbe2c8009197978800a4544fca56cc2074df32e1304f3";
2017-11-05 21:37:27 +00:00
};
checkPhase = ''
${python.interpreter} -m unittest discover
'';
pythonImportsCheck = [ "fastimport" ];
meta = with lib; {
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;
};
}