gomtree: init at 0.5.4
tests disabled but binary works as expected Signed-off-by: phanirithvij <phanirithvij2000@gmail.com> Update pkgs/by-name/go/go-mtree/package.nix Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Update pkgs/by-name/go/go-mtree/package.nix Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
0f7ac94326
commit
40b1c6978d
38
pkgs/by-name/go/gomtree/package.nix
Normal file
38
pkgs/by-name/go/gomtree/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gomtree";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vbatts";
|
||||
repo = "go-mtree";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MDX16z4H1fyuV5atEsZHReJyvC+MRdeA54DORCFtpqI=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
# test fails with nix due to ro file system
|
||||
checkFlags = [ "-skip=^TestXattr$" ];
|
||||
|
||||
subPackages = [ "cmd/gomtree" ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-X main.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "File systems verification utility and library, in likeness of mtree(8)";
|
||||
changelog = "https://github.com/vbatts/go-mtree/releases/tag/v${version}";
|
||||
homepage = "https://github.com/vbatts/go-mtree";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ phanirithvij ];
|
||||
mainProgram = "gomtree";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user