utils/meta.nix

30 lines
498 B
Nix

{
lib,
stdenvNoCC,
# packages
tunnel,
...
}:stdenvNoCC.mkDerivation (finalAttrs: {
pname = "meta";
version = "unstable";
# src =
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 ];
};
})