mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
34 lines
686 B
Nix
34 lines
686 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
git,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "bit";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chriswalz";
|
|
repo = "bit";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-18R0JGbG5QBDghF4SyhXaKe9UY5UzF7Ap0Y061Z1SZ8=";
|
|
};
|
|
|
|
vendorHash = "sha256-3Y/B14xX5jaoL44rq9+Nn4niGViLPPXBa8WcJgTvYTA=";
|
|
|
|
propagatedBuildInputs = [ git ];
|
|
|
|
# Tests require a repository
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Command-line tool for git";
|
|
homepage = "https://github.com/chriswalz/bit";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "bit";
|
|
};
|
|
})
|