You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 751B

123456789101112131415161718192021222324252627
  1. { lib, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
  2. buildGoPackage rec {
  3. pname = "overmind";
  4. version = "2.0.3";
  5. goPackagePath = "github.com/DarthSim/overmind";
  6. nativeBuildInputs = [ makeWrapper ];
  7. postInstall = ''
  8. wrapProgram "$bin/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
  9. '';
  10. src = fetchFromGitHub {
  11. owner = "DarthSim";
  12. repo = pname;
  13. rev = "v${version}";
  14. sha256 = "0c551c240lqxdjg0jj01rh2fyhwls02k5lczlxacj05prp1plz9p";
  15. };
  16. meta = with lib; {
  17. homepage = "https://github.com/DarthSim/overmind";
  18. description = "Process manager for Procfile-based applications and tmux";
  19. license = with licenses; [ mit ];
  20. maintainers = [ maintainers.adisbladis ];
  21. };
  22. }