nixpkgs/pkgs/development/tools/b4/default.nix
2023-05-25 15:52:27 +03:00

30 lines
713 B
Nix

{ lib, python3Packages, fetchPypi, patatt }:
python3Packages.buildPythonApplication rec {
pname = "b4";
version = "0.12.2";
src = fetchPypi {
inherit pname version;
sha256 = "tvSv14v3iigFWzifCQl5Kxx4Bfs1V/XXHvvaNoKqvm4=";
};
# tests make dns requests and fails
doCheck = false;
propagatedBuildInputs = with python3Packages; [
requests
dnspython
dkimpy
patatt
git-filter-repo
];
meta = with lib; {
homepage = "https://git.kernel.org/pub/scm/utils/b4/b4.git/about";
license = licenses.gpl2Only;
description = "A helper utility to work with patches made available via a public-inbox archive";
maintainers = with maintainers; [ jb55 qyliss ];
};
}