From e13494d0716b8599e56c435d8848c71a0f103169 Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Thu, 24 Mar 2022 16:17:24 +0100 Subject: [PATCH 1/2] lib.licenses: add MIT-0 --- lib/licenses.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index b9310ef6c5b8..e2d3fb1eb391 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -607,6 +607,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"; From c92bd0b04e9837f7284326b95f6afba23cdfc48f Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Thu, 24 Mar 2022 16:19:18 +0100 Subject: [PATCH 2/2] patatt: init at 0.4.9 --- pkgs/development/tools/patatt/default.nix | 28 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/patatt/default.nix 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 63fe1960ff9f..3cf427b19b7c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8886,6 +8886,8 @@ with pkgs; patchage = callPackage ../applications/audio/patchage { }; + patatt = callPackage ../development/tools/patatt { }; + pcapfix = callPackage ../tools/networking/pcapfix { }; pbzip2 = callPackage ../tools/compression/pbzip2 { };