depot/third_party/nixpkgs/pkgs/development/tools/b4/default.nix

29 lines
697 B
Nix
Raw Normal View History

{ lib, python3Packages, patatt }:
python3Packages.buildPythonApplication rec {
pname = "b4";
version = "0.8.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-fVHW27KIBT/GQ7hOx67qpVlOHLjHwdQcYl2XgCPTvoQ=";
};
# tests make dns requests and fails
doCheck = false;
propagatedBuildInputs = with python3Packages; [
requests
dnspython
dkimpy
patatt
];
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 ];
};
}