udunits: meta.platforms = lib.platforms.all

Relax the platform constrain,
since it seems not a platform-specific
and Homebrew have it in their package set

Specify meta.mainProgram

+2 -1
+2 -1
pkgs/development/libraries/udunits/default.nix
··· 44 ''; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ AndersonTorres pSub ]; 47 - platforms = platforms.linux; 48 }; 49 }
··· 44 ''; 45 license = licenses.asl20; 46 maintainers = with maintainers; [ AndersonTorres pSub ]; 47 + platforms = platforms.all; 48 + mainProgram = "udunits2"; 49 }; 50 }