1{ lib
2, buildPythonPackage
3, fetchPypi
4, configobj
5, six
6, fastimport
7, dulwich
8, launchpadlib
9, testtools
10}:
11
12buildPythonPackage rec {
13 pname = "breezy";
14 version = "3.0.2";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "50f16bc7faf299f98fe58573da55b0664078f94b1a0e7f0ce9e1e6a0d47e68e0";
19 };
20
21 propagatedBuildInputs = [ configobj six fastimport dulwich launchpadlib ];
22
23 checkInputs = [ testtools ];
24
25 # There is a conflict with their `lazy_import` and plugin tests
26 doCheck = false;
27
28 # symlink for bazaar compatibility
29 postInstall = ''
30 ln -s "$out/bin/brz" "$out/bin/bzr"
31 '';
32
33 pythonImportsCheck = [ "breezy" ];
34
35 meta = with lib; {
36 description = "Friendly distributed version control system";
37 homepage = "https://www.breezy-vcs.org/";
38 license = licenses.gpl2;
39 maintainers = [ maintainers.marsam ];
40 };
41}