utils/meta.nix
2024-08-30 12:06:08 -05:00

28 lines
493 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 ];
};
})