Merge pull request #112244 from jb55/init-b4

b4: init at 0.6.2
This commit is contained in:
Sandro 2021-02-07 16:04:39 +01:00 committed by GitHub
commit 5c3a383c72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "b4";
version = "0.6.2";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1j904dy9cwxl85k2ngc498q5cdnqwsmw3jibjr1m55w8aqdck68z";
};
preConfigure = ''
substituteInPlace setup.py \
--replace 'requests~=2.24' 'requests~=2.25'
'';
# tests make dns requests and fails
doCheck = false;
propagatedBuildInputs = with python3Packages; [
requests
dnspython
dkimpy
# These may be required in the future for other patch attestation features
#pycryptodomex~=3.9.9
#PyNaCl
];
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 ];
};
}

View file

@ -11687,6 +11687,8 @@ in
avrdude = callPackage ../development/tools/misc/avrdude { };
b4 = callPackage ../development/tools/b4 { };
babeltrace = callPackage ../development/tools/misc/babeltrace { };
bam = callPackage ../development/tools/build-managers/bam {};