nixpkgs/pkgs/tools/security/lethe/default.nix

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

30 lines
651 B
Nix
Raw Normal View History

2021-06-26 23:26:49 +02:00
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "lethe";
2021-12-07 10:48:42 +01:00
version = "0.6.1";
2021-06-26 23:26:49 +02:00
src = fetchFromGitHub {
owner = "kostassoid";
repo = pname;
rev = "v${version}";
2021-12-07 10:48:42 +01:00
sha256 = "sha256-0UYUzef7ja8nc2zs7eWqqXQfVVbEJEH9/NRRHVkvkYk=";
2021-06-26 23:26:49 +02:00
};
2021-12-07 10:48:42 +01:00
cargoSha256 = "sha256-suE8USKTZECVlTX4Wpz3vapo/Wmn7qaC3eyAJ3gmzqk=";
2021-06-26 23:26:49 +02:00
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Tool to wipe drives in a secure way";
homepage = "https://github.com/kostassoid/lethe";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}