aboutsummaryrefslogblamecommitdiff
path: root/packages/robloxenv/default.nix
blob: 2b691e42597ec001dd2d39aa89d954fb02840ae6 (plain) (tree)



















                                              
                              








                                              
{ lib, python3 }:

python3.pkgs.buildPythonApplication rec {
  pname = "robloxenv";
  src = ./robloxenv.py;
  version = "0.1.0";
  format = "other";

  buildInputs = [ python3 ];
  propagatedBuildInputs = with python3.pkgs; [
    requests
    click
  ];

  dontUnpack = true;
  dontBuild = true;

  installPhase = ''
    mkdir -p $out/bin
    cp $src $out/bin/${pname}
    chmod +x $out/bin/${pname}
  '';

  meta = with lib; {
    description = "This is a tool.";
    license = with licenses; [ mit ];
    platforms = platforms.unix;
    maintainers = with maintainers; [ fcuny ];
  };
}