mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
28 lines
728 B
Nix
28 lines
728 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "paper-age";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matiaskorhonen";
|
|
repo = "paper-age";
|
|
rev = "v${version}";
|
|
hash = "sha256-WWRX5St701ja/7wl4beiqD3+ZEEsb9n5N/pbbjdrgDM=";
|
|
};
|
|
|
|
cargoHash = "sha256-Ede/BNLTSJPMsu/uYyowuUxBVu1oggiqKcE+vWHCtgU=";
|
|
|
|
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";
|
|
};
|
|
}
|