depot/pkgs/by-name/pa/paper-age/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
728 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "paper-age";
version = "1.3.3";
src = fetchFromGitHub {
owner = "matiaskorhonen";
repo = "paper-age";
rev = "v${version}";
hash = "sha256-XnJSsxWe4/NLOqBjU7++bwLtVfIR9n8hpBxL3K8Bmho=";
};
cargoHash = "sha256-808+lQxjE9dxgNZm/FuZwFuBFJgx/7kCpNn+FrMvuoY=";
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";
};
}