Unverified Commit 904f7ef2 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #163136 from mvisonneau/s5_init

s5: init at 0.1.12
parents a175ac6b d06ff9a1
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "s5";
  version = "0.1.12";

  src = fetchFromGitHub {
    owner = "mvisonneau";
    repo = pname;
    rev = "v${version}";
    sha256 = "003l4v7d671rvw7q32fxhxv3qazw6v8v9ch7hmyy9lvwkc7x6dlm";
  };

  subPackages = [ "cmd/${pname}" ];

  ldflags = [
    "-X main.version=v${version}"
  ];

  vendorSha256 = "TrCIUeY0B+BsWNaUkDTEgrEaWfJKnID2mafj3ink+i8=";
  doCheck = true;

  meta = with lib; {
    description = "cipher/decipher text within a file";
    homepage = "https://github.com/mvisonneau/s5";
    license = licenses.asl20;
    platforms = platforms.unix ++ platforms.darwin;
    maintainers = with maintainers; [ mvisonneau ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12167,6 +12167,8 @@ with pkgs;
  s4cmd = callPackage ../tools/networking/s4cmd { };
  s5 = callPackage ../tools/security/s5 { };
  s5cmd = callPackage ../tools/networking/s5cmd { };
  sacad = callPackage ../tools/misc/sacad { };