bit: init at 1.05

This commit is contained in:
Fabian Affolter 2021-03-24 01:03:57 +01:00
parent 9677d30d77
commit 0432eccae8
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ 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 ];
};
}

View file

@ -1138,6 +1138,8 @@ in
bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { };
bit = callPackage ../applications/version-management/git-and-tools/bit { };
bitwarden = callPackage ../tools/security/bitwarden { };
inherit (nodePackages) bitwarden-cli;