Unverified Commit 31c53f10 authored by Janik's avatar Janik Committed by GitHub
Browse files

Merge pull request #280382 from sentientmonkey/master

git-together: init at 0.1.0-alpha.26
parents 18a0b68e 0600791f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17261,6 +17261,12 @@
    githubId = 1286668;
    name = "Thilo Uttendorfer";
  };
  sentientmonkey = {
    email = "swindsor@gmail.com";
    github = "sentientmonkey";
    githubId = 9032;
    name = "Scott Windsor";
  };
  sents = {
    email = "finn@krein.moe";
    github = "sents";
+35 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, openssl
, pkg-config
, darwin
}:

rustPlatform.buildRustPackage rec {
  pname = "git-together";
  version = "v0.1.0-alpha.26";

  src = fetchFromGitHub {
    owner = "kejadlen";
    repo = "git-together";
    rev = version;
    hash = "sha256-2HgOaqlX0mmmvRlALHm90NAdIhby/jWUJO63bQFqc+4=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin darwin.Security;

  OPENSSL_NO_VENDOR = true;

  cargoHash = "sha256-mIkhXVuSgcsQf4be7NT0R8rkN9tdgim41gqjbq3ndPA=";

  meta = with lib; {
    description = "Better commit attribution while pairing without messing with your git workflow";
    homepage = "https://github.com/kejadlen/git-together";
    license = licenses.mit;
    maintainers = with maintainers; [ sentientmonkey ];
    mainProgram = "git-together";
  };
}