2021-08-15 09:18:28 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2021-11-16 04:42:10 +00:00
|
|
|
, Security
|
2021-08-15 09:18:28 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bpb";
|
|
|
|
version = "unstable-2018-07-27";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "withoutboats";
|
|
|
|
repo = "bpb";
|
|
|
|
rev = "b1ef5ca1d2dea0e2ec0b1616f087f110ea17adfa";
|
|
|
|
sha256 = "sVfM8tlAsF4uKLxl3g/nSYgOx+znHIdPalSIiCd18o4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "7cARRJWRxF1kMySX6KcB6nrVf8k1p/nr3OyAwNLmztc=";
|
|
|
|
|
|
|
|
# a nightly compiler is required unless we use this cheat code.
|
|
|
|
RUSTC_BOOTSTRAP = 1;
|
|
|
|
|
2021-11-16 04:42:10 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2021-08-15 09:18:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to automatically sign git commits, replacing gpg for that purpose";
|
|
|
|
homepage = "https://github.com/withoutboats/bpb";
|
|
|
|
license = licenses.mit;
|
2022-10-26 18:45:18 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-08-15 09:18:28 +00:00
|
|
|
};
|
|
|
|
}
|