2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, configobj
|
2020-12-09 12:39:15 +00:00
|
|
|
, patiencediff
|
2020-04-24 23:36:52 +00:00
|
|
|
, six
|
|
|
|
, fastimport
|
|
|
|
, dulwich
|
|
|
|
, launchpadlib
|
|
|
|
, testtools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "breezy";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "3.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "sha256-4LJo6xoooq8EUoDDfQIa4y1/8XX0ybmfM6rX2wsp2Fw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-09 12:39:15 +00:00
|
|
|
propagatedBuildInputs = [ configobj patiencediff six fastimport dulwich launchpadlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|