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

23 lines
553 B
Nix
Raw Normal View History

2018-01-01 10:46:58 +00:00
{ stdenv, buildPythonPackage, python, fetchPypi}:
2017-11-05 21:37:27 +00:00
buildPythonPackage rec {
2018-01-01 10:46:58 +00:00
pname = "fastimport";
2018-05-09 14:46:51 +00:00
version = "0.9.8";
2017-11-05 21:37:27 +00:00
2018-01-01 10:46:58 +00:00
src = fetchPypi {
inherit pname version;
2018-05-09 14:46:51 +00:00
sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9";
2017-11-05 21:37:27 +00: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;
};
}