Merge master into staging-next

This commit is contained in:
github-actions[bot]
2020-12-02 18:13:34 +00:00
committed by GitHub
25 changed files with 180 additions and 68 deletions
@@ -0,0 +1,29 @@
{ lib, python3, git, mercurial}:
python3.pkgs.buildPythonApplication rec {
pname = "bumpver";
version = "2020.1107";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "75704333a8d1699e2cadcf1fcd3027a2cab6837ae343af10a61c6eef4e0313d7";
};
prePatch = ''
substituteInPlace setup.py \
--replace "if any(arg.startswith(\"bdist\") for arg in sys.argv):" ""\
--replace "import lib3to6" ""\
--replace "package_dir = lib3to6.fix(package_dir)" ""
'';
propagatedBuildInputs = with python3.pkgs; [ pathlib2 click toml lexid colorama setuptools ];
checkInputs = [ python3.pkgs.pytestCheckHook git mercurial];
meta = with lib; {
description = "Bump version numbers in project files";
homepage = "https://pypi.org/project/bumpver/";
license = licenses.mit;
maintainers = with maintainers; [ kfollesdal ];
};
}
@@ -8,11 +8,11 @@ with stdenv.lib;
buildGoPackage rec {
pname = "gitea";
version = "1.12.6";
version = "1.13.0";
src = fetchurl {
url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
sha256 = "sha256-mEhtFcWLUhd+WK8wDhrGr6RvL4X2G42W6su/c8zxGR4=";
sha256 = "090i4hk9mb66ia14kyp7rqymhc897yi1ifb0skvknylx0sw8vhk9";
};
unpackPhase = ''