depot/third_party/nixpkgs/pkgs/development/python-modules/breezy/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

42 lines
874 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, configobj
, patiencediff
, six
, fastimport
, dulwich
, launchpadlib
, testtools
}:
buildPythonPackage rec {
pname = "breezy";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4LJo6xoooq8EUoDDfQIa4y1/8XX0ybmfM6rX2wsp2Fw=";
};
propagatedBuildInputs = [ configobj patiencediff 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 ];
};
}