at 24.05-pre 32 lines 799 B view raw
1{ stdenv 2, lib 3, rustPlatform 4, fetchFromGitHub 5, Security 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "bpb"; 10 version = "unstable-2018-07-27"; 11 12 src = fetchFromGitHub { 13 owner = "withoutboats"; 14 repo = "bpb"; 15 rev = "b1ef5ca1d2dea0e2ec0b1616f087f110ea17adfa"; 16 sha256 = "sVfM8tlAsF4uKLxl3g/nSYgOx+znHIdPalSIiCd18o4="; 17 }; 18 19 cargoSha256 = "7cARRJWRxF1kMySX6KcB6nrVf8k1p/nr3OyAwNLmztc="; 20 21 # a nightly compiler is required unless we use this cheat code. 22 RUSTC_BOOTSTRAP = 1; 23 24 buildInputs = lib.optional stdenv.isDarwin Security; 25 26 meta = with lib; { 27 description = "Tool to automatically sign git commits, replacing gpg for that purpose"; 28 homepage = "https://github.com/withoutboats/bpb"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ ]; 31 }; 32}