2020-02-22 09:24:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, configobj
|
|
|
|
, six
|
|
|
|
, fastimport
|
|
|
|
, dulwich
|
|
|
|
, launchpadlib
|
|
|
|
, testtools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "breezy";
|
2020-11-29 14:04:24 +00:00
|
|
|
version = "3.1.0";
|
2020-02-22 09:24:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:24 +00:00
|
|
|
sha256 = "1eff207403f48898fa3b3ffa7a4275197c6c58fec105ef267caf1f5fd5a6c7be";
|
2020-02-22 09:24:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ configobj six fastimport dulwich launchpadlib ];
|
|
|
|
|
|
|
|
checkInputs = [ testtools ];
|
|
|
|
|
|
|
|
# There is a conflict with their `lazy_import` and plugin tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# symlink for bazaar compatibility
|
|
|
|
postInstall = ''
|
|
|
|
ln -s "$out/bin/brz" "$out/bin/bzr"
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "breezy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Friendly distributed version control system";
|
|
|
|
homepage = "https://www.breezy-vcs.org/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|