nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (572B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoModule,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "hmq";
      9   version = "1.5.6";
     10 
     11   src = fetchFromGitHub {
     12     owner = "fhmq";
     13     repo = "hmq";
     14     tag = "v${version}";
     15     hash = "sha256-vBsUDKrs7add8gFF6dMK5WK8irfWowCrRdB3N4Aegwg=";
     16   };
     17 
     18   vendorHash = "sha256-bmyFXI6OBddzvu6mJxI/TW3pRqq6w6LsDveBvUd10tk=";
     19 
     20   ldflags = [
     21     "-s"
     22     "-w"
     23   ];
     24 
     25   meta = {
     26     description = "High performance mqtt broker";
     27     homepage = "https://github.com/fhmq/hmq";
     28     license = lib.licenses.asl20;
     29     maintainers = [ lib.maintainers.sikmir ];
     30   };
     31 }