utils/meta.nix

29 lines
493 B
Nix
Raw Normal View History

2024-08-16 14:07:25 -05:00
{
2024-08-16 14:21:25 -05:00
lib,
stdenvNoCC,
2024-08-16 14:07:25 -05:00
2024-08-16 14:21:25 -05:00
# packages
tunnel,
...
}:
stdenvNoCC.mkDerivation (finalAttrs: {
2024-08-16 14:07:25 -05:00
pname = "meta";
version = "unstable";
2024-08-16 14:21:25 -05:00
buildInputs = [ tunnel ];
2024-08-16 14:07:25 -05:00
2024-08-16 14:21:25 -05:00
phases = [ "installPhase" ];
2024-08-16 14:07:25 -05:00
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 ];
};
})