48af15f7a5
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
31 lines
650 B
Nix
31 lines
650 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, git
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "bit";
|
|
version = "1.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chriswalz";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0dv6ma2vwb21cbxkxzrpmj7cqlhwr7a86i4g728m3y1aclh411sn";
|
|
};
|
|
|
|
vendorSha256 = "1j6w7bll4zyp99579dhs2rza4y9kgfz3g8d5grfzgqck6cjj9mn8";
|
|
|
|
propagatedBuildInputs = [ git ];
|
|
|
|
# Tests require a repository
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Command-line tool for git";
|
|
homepage = "https://github.com/chriswalz/bit";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|