diff --git a/pkgs/development/python-modules/breezy/default.nix b/pkgs/development/python-modules/breezy/default.nix new file mode 100644 index 000000000000..79a80451d028 --- /dev/null +++ b/pkgs/development/python-modules/breezy/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchPypi +, configobj +, six +, fastimport +, dulwich +, launchpadlib +, testtools +}: + +buildPythonPackage rec { + pname = "breezy"; + version = "3.0.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "50f16bc7faf299f98fe58573da55b0664078f94b1a0e7f0ce9e1e6a0d47e68e0"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 203099fa457a..1d8b08c97b03 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18449,6 +18449,8 @@ in brave = callPackage ../applications/networking/browsers/brave { }; + breezy = with python3Packages; toPythonApplication breezy; + notmuch-bower = callPackage ../applications/networking/mailreaders/notmuch-bower { }; brig = callPackage ../applications/networking/brig { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 39d50778a428..53b7eba5f30c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -502,6 +502,8 @@ in { braintree = callPackage ../development/python-modules/braintree { }; + breezy = callPackage ../development/python-modules/breezy { }; + deepdiff = callPackage ../development/python-modules/deepdiff { }; django-sesame = callPackage ../development/python-modules/django-sesame { };