utils/meta.nix
2024-11-11 15:33:32 -06:00

28 lines
492 B
Nix

{
lib,
stdenvNoCC,
# packages
tunnel,
...
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "meta";
version = "unstable";
buildInputs = [ tunnel ];
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
ln -s ${tunnel}/bin/tunnel $out/bin
'';
meta = {
description = "meta package for utils";
homepage = "https://git.dayl.in/daylin/utils";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ daylinmorgan ];
};
})