depot/third_party/nixpkgs/pkgs/by-name/gi/git-together/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

35 lines
866 B
Nix

{ 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";
};
}