nixpkgs-suyu/pkgs/development/python-modules/fastimport/default.nix

23 lines
541 B
Nix
Raw Normal View History

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";
2017-11-05 22:37:27 +01:00
version = "0.9.6";
2018-01-01 11:46:58 +01:00
src = fetchPypi {
inherit pname version;
2017-11-05 22:37:27 +01:00
sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43";
};
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;
};
}