mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
b5b9315a6d
Diff: https://github.com/matiaskorhonen/paper-age/compare/v1.1.4...v1.2.0 Changelog: https://github.com/matiaskorhonen/paper-age/blob/v1.2.0/CHANGELOG.md
28 lines
728 B
Nix
28 lines
728 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "paper-age";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matiaskorhonen";
|
|
repo = "paper-age";
|
|
rev = "v${version}";
|
|
hash = "sha256-7dd1R41CDgkpFI8fUWCJfgz3lr22IjWQYW6vRYEFidc=";
|
|
};
|
|
|
|
cargoHash = "sha256-IJDV0dmOsA9gbVKGfPsN3TKJbox3JTNxldArQK6GPt8=";
|
|
|
|
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";
|
|
};
|
|
}
|