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 = "mqtt-stresser";
      9   version = "4";
     10 
     11   src = fetchFromGitHub {
     12     owner = "inovex";
     13     repo = "mqtt-stresser";
     14     tag = "v${version}";
     15     hash = "sha256-4xcoqsbTDxpaR1T7KgkqqT7iOUh8k8GFHYTPoapfjJQ=";
     16   };
     17 
     18   vendorHash = null;
     19 
     20   ldflags = [
     21     "-s"
     22     "-w"
     23   ];
     24 
     25   meta = {
     26     description = "Load testing tool to stress MQTT message broker";
     27     homepage = "https://github.com/inovex/mqtt-stresser";
     28     license = lib.licenses.asl20;
     29     maintainers = [ lib.maintainers.sikmir ];
     30   };
     31 }