···1617buildGoPackage rec {
18 pname = "gitea";
19- version = "1.14.1";
2021 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
22 src = fetchurl {
23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
24- sha256 = "1hpwc5jmkbnn6qf3li8g38qz2l87vk6jq2zxijq92jyfp54kj03p";
25 };
2627 unpackPhase = ''
···1617buildGoPackage rec {
18 pname = "gitea";
19+ version = "1.14.2";
2021 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
22 src = fetchurl {
23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz";
24+ sha256 = "sha256-0EvKk0/ro1YAqvc5yCt8vn2LkRoIbXrFTwcQtomoWsM=";
25 };
2627 unpackPhase = ''
···44 jupyter_client
45 notebook
46 ];
47+ # Tests that use a Jupyter notebook require $HOME to be writable.
48+ HOME = "$TMPDIR";
49+ # Pre-commit tests expect the source directory to be a Git repository.
50 pytestFlagsArray = [ "--ignore-glob='tests/test_pre_commit_*.py'" ];
51 pythonImportsCheck = [ "jupytext" "jupytext.cli" ];
52