diff --git a/lib/licenses.nix b/lib/licenses.nix index b530500741bb..2928d11d8b22 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -612,6 +612,11 @@ in mkLicense lset) ({ fullName = "Enlightenment License (e16)"; }; + mit0 = { + spdxId = "MIT-0"; + fullName = "MIT No Attribution"; + }; + mpl10 = { spdxId = "MPL-1.0"; fullName = "Mozilla Public License 1.0"; diff --git a/pkgs/development/tools/patatt/default.nix b/pkgs/development/tools/patatt/default.nix new file mode 100644 index 000000000000..fce4f5063763 --- /dev/null +++ b/pkgs/development/tools/patatt/default.nix @@ -0,0 +1,28 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "patatt"; + version = "0.4.9"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-qHhNxgP43vBSjrHp2Ygzq5J/f6YyBD4VDTp9S1ud6zo="; + }; + + propagatedBuildInputs = with python3Packages; [ + pynacl + ]; + + meta = with lib; { + homepage = "https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/"; + license = licenses.mit0; + description = "Add cryptographic attestation to patches sent via email"; + longDescription = '' + This utility allows an easy way to add end-to-end cryptographic + attestation to patches sent via mail. It does so by adapting the + DKIM email signature standard to include cryptographic + signatures via the X-Developer-Signature email header. + ''; + maintainers = with maintainers; [ yoctocell ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 457232563cc1..418a333e28d2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8904,6 +8904,8 @@ with pkgs; patchage = callPackage ../applications/audio/patchage { }; + patatt = callPackage ../development/tools/patatt { }; + pcapfix = callPackage ../tools/networking/pcapfix { }; pbzip2 = callPackage ../tools/compression/pbzip2 { };