Files
nixpkgs/pkgs/by-name/bu/bupstash/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
948 B
Nix

{
lib,
fetchFromGitHub,
installShellFiles,
rustPlatform,
ronn,
pkg-config,
libsodium,
}:
rustPlatform.buildRustPackage rec {
pname = "bupstash";
version = "0.12.0";
src = fetchFromGitHub {
owner = "andrewchambers";
repo = "bupstash";
rev = "v${version}";
sha256 = "sha256-Ekjxna3u+71s1q7jjXp7PxYUQIfbp2E+jAqKGuszU6g=";
};
cargoHash = "sha256-kWUAI25ag9ghIhn36NF+SunRtmbS0HzsZsxGJujmuG4=";
nativeBuildInputs = [
ronn
pkg-config
installShellFiles
];
buildInputs = [ libsodium ];
postBuild = ''
RUBYOPT="-KU -E utf-8:utf-8" ronn -r doc/man/*.md
'';
postInstall = ''
installManPage doc/man/*.[1-9]
'';
meta = with lib; {
description = "Easy and efficient encrypted backups";
homepage = "https://bupstash.io";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ andrewchambers ];
mainProgram = "bupstash";
};
}