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