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