14 src = fetchFromGitHub {
18 hash = "sha256-FW2mOsshpXCTTjijo0RFdsYX883P2cudyclRtvkCxa0=";
20 vendorHash = "sha256-7M6CRxJd4fgYQLJDkNa3ds3f7jOp3dyloOZtwMtCBQk=";
22 nativeBuildInputs = [ ast-grep ];
25 # Remove the test case that is not compatible with nix-build
28 --pattern 'func TestLipo_ArchsToLocalFiles($$$) { $$$ }' \
30 pkg/lipo/archs_test.go
35 make build VERSION=${version} REVISION="" BINARY=$out/bin/lipo
40 nativeInstallCheckInputs = [
43 versionCheckProgram = "${placeholder "out"}/bin/lipo";
44 versionCheckProgramArg = [ "-version" ];
45 doInstallCheck = true;
48 updateScript = nix-update-script { };
52 description = "Designed to be compatible with macOS lipo, written in golang";
53 homepage = "https://github.com/konoui/lipo";
54 changelog = "https://github.com/konoui/lipo/releases/tag/v${version}";
55 license = lib.licenses.mit;
56 maintainers = with lib.maintainers; [ xiaoxiangmoe ];