Merge pull request #117423 from fabaff/bit

This commit is contained in:
Sandro 2021-03-24 18:47:53 +01:00 committed by GitHub
commit 58b1c47c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;