2023-10-10 07:29:59 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "paper-age";
|
2023-10-22 06:20:00 +02:00
|
|
|
version = "1.2.0";
|
2023-10-10 07:29:59 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matiaskorhonen";
|
|
|
|
repo = "paper-age";
|
|
|
|
rev = "v${version}";
|
2023-10-22 06:20:00 +02:00
|
|
|
hash = "sha256-7dd1R41CDgkpFI8fUWCJfgz3lr22IjWQYW6vRYEFidc=";
|
2023-10-10 07:29:59 +02:00
|
|
|
};
|
|
|
|
|
2023-10-22 06:20:00 +02:00
|
|
|
cargoHash = "sha256-IJDV0dmOsA9gbVKGfPsN3TKJbox3JTNxldArQK6GPt8=";
|
2023-10-10 07:29:59 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easy and secure paper backups of secrets";
|
|
|
|
homepage = "https://github.com/matiaskorhonen/paper-age";
|
|
|
|
changelog = "https://github.com/matiaskorhonen/paper-age/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ tomfitzhenry ];
|
|
|
|
mainProgram = "paper-age";
|
|
|
|
};
|
|
|
|
}
|