about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJanik <80165193+Janik-Haag@users.noreply.github.com>2024-02-26 22:12:45 +0100
committerGitHub <noreply@github.com>2024-02-26 22:12:45 +0100
commit31c53f104be7c9b598149f3eaaadeee36caf9e6f (patch)
tree1a4fa0f38c69f87c55ad3f8241b974d57772ed69 /pkgs
parent18a0b68e42bebce4b75402f586a0cb43da626ce6 (diff)
parent0600791f3ef36e36d702984e275f114295714d58 (diff)
Merge pull request #280382 from sentientmonkey/master
git-together: init at 0.1.0-alpha.26
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/gi/git-together/package.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/git-together/package.nix b/pkgs/by-name/gi/git-together/package.nix
new file mode 100644
index 0000000000000..1fd062760de02
--- /dev/null
+++ b/pkgs/by-name/gi/git-together/package.nix
@@ -0,0 +1,35 @@
+{ 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";
+  };
+}