Home

git-pr-nix @6a3bca9ad87b454427940c82f3d111f2eb2c256e - refs - log -
-
https://git.jolheiser.com/git-pr-nix.git
git-pr nix
git-pr-nix / pkg / default.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  pkgs ? import <nixpkgs>,
}:
pkgs.buildGoModule rec {
  pname = "git-pr";
  version = "d15bf3ca0f2b9222c59bc2c180f681e0c2b6cd39";

  src = pkgs.fetchFromGitHub {
    owner = "picosh";
    repo = pname;
    rev = "${version}";
    sha256 = "sha256-rypTKppAwu6XwyTBcV96I+2qflSNFrO8ILjZE9ha6kM=";
  };

  vendorHash = "sha256-yoEITVoM6Dbf7QRVxxjsGKTmllDlMwRsqGevbM6AJ+w=";

  subPackages = [
    "cmd/ssh"
    "cmd/web"
  ];

  CGO_ENABLED = 0;

  meta = with pkgs.lib; {
    description = "The easiest git collaboration tool";
    homepage = "https://github.com/picosh/git-pr";
    license = licenses.mit;
  };
}