mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
30 lines
908 B
Nix
30 lines
908 B
Nix
{ lib, python3Packages, fetchPypi }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "patatt";
|
|
version = "0.6.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|