nixpkgs/pkgs/development/tools/patatt/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
910 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "patatt";
version = "0.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-mAgm9lKdJXbCZ8ofVk1b7wRstH5UIVu1mO1sS5stCig=";
};
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";
mainProgram = "patatt";
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; [ qyliss yoctocell ];
};
}