nixpkgs/pkgs/tools/backup/conserve/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
625 B
Nix
Raw Normal View History

2023-07-16 05:23:08 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "conserve";
2023-11-29 08:17:28 +00:00
version = "23.11.0";
2023-07-16 05:23:08 +00:00
src = fetchFromGitHub {
owner = "sourcefrog";
repo = "conserve";
rev = "v${version}";
2023-11-29 08:17:28 +00:00
hash = "sha256-Ck2+3etwfZiDMZHzI2hIBuUKn7L0ZTGEe9yJjXjoRIM=";
2023-07-16 05:23:08 +00:00
};
2023-11-29 08:17:28 +00:00
cargoHash = "sha256-tMj1icGNTFpouts1TE6BIiABexV3vmOW9r5Y/7ynUMM=";
2023-07-16 05:23:08 +00:00
meta = with lib; {
description = "Robust portable backup tool in Rust";
homepage = "https://github.com/sourcefrog/conserve";
license = licenses.gpl2Only;
maintainers = with maintainers; [ happysalada ];
2023-11-23 02:51:17 +00:00
mainProgram = "conserve";
2023-07-16 05:23:08 +00:00
};
}