1{ lib, python3Packages, fetchPypi, patatt }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "b4";
5 version = "0.12.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "tvSv14v3iigFWzifCQl5Kxx4Bfs1V/XXHvvaNoKqvm4=";
10 };
11
12 # tests make dns requests and fails
13 doCheck = false;
14
15 propagatedBuildInputs = with python3Packages; [
16 requests
17 dnspython
18 dkimpy
19 patatt
20 git-filter-repo
21 ];
22
23 meta = with lib; {
24 homepage = "https://git.kernel.org/pub/scm/utils/b4/b4.git/about";
25 license = licenses.gpl2Only;
26 description = "A helper utility to work with patches made available via a public-inbox archive";
27 maintainers = with maintainers; [ jb55 qyliss ];
28 };
29}