depot/third_party/nixpkgs/pkgs/development/tools/b4/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

30 lines
747 B
Nix

{ lib, python3Packages, fetchPypi, patatt }:
python3Packages.buildPythonApplication rec {
pname = "b4";
version = "0.12.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-tk4VBvSnHE6VnUAa3QYCqFLQbsHTJ6Bfqwa1wKEC6mI=";
};
# 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";
mainProgram = "b4";
maintainers = with maintainers; [ jb55 qyliss mfrw ];
};
}