Files
nixpkgs/pkgs/by-name/go/gomtree/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
849 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gomtree";
version = "0.6.0";
src = fetchFromGitHub {
owner = "vbatts";
repo = "go-mtree";
rev = "v${version}";
hash = "sha256-SCjmyvZZGI/vQg2Ok4vw6v4Om8pNgdWDBwWVB/LIKaA=";
};
vendorHash = null;
# test fails with nix due to ro file system
checkFlags = [ "-skip=^TestXattr$" ];
subPackages = [ "cmd/gomtree" ];
ldflags = [
"-s"
"-X main.Version=${version}"
];
meta = {
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 = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ phanirithvij ];
mainProgram = "gomtree";
};
}