Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
35 lines
827 B
Nix
35 lines
827 B
Nix
{ lib, python3Packages, fetchPypi, patatt }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "b4";
|
|
version = "0.14.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-T4NbblrjDv9gBLslwV/Y9Pbs0RBVluhtsYcf730YET0=";
|
|
};
|
|
|
|
# tests make dns requests and fails
|
|
doCheck = false;
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
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 = "Helper utility to work with patches made available via a public-inbox archive";
|
|
mainProgram = "b4";
|
|
maintainers = with maintainers; [ jb55 qyliss mfrw ];
|
|
};
|
|
}
|