nur-packages

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

package.nix (657B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoModule,
      5 }:
      6 
      7 buildGoModule (finalAttrs: {
      8   pname = "mqtt-stresser";
      9   version = "4";
     10 
     11   __structuredAttrs = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "inovex";
     15     repo = "mqtt-stresser";
     16     tag = "v${finalAttrs.version}";
     17     hash = "sha256-4xcoqsbTDxpaR1T7KgkqqT7iOUh8k8GFHYTPoapfjJQ=";
     18   };
     19 
     20   vendorHash = null;
     21 
     22   ldflags = [
     23     "-s"
     24     "-w"
     25   ];
     26 
     27   meta = {
     28     description = "Load testing tool to stress MQTT message broker";
     29     homepage = "https://github.com/inovex/mqtt-stresser";
     30     license = lib.licenses.asl20;
     31     maintainers = [ lib.maintainers.sikmir ];
     32     mainProgram = "mqtt-stresser";
     33   };
     34 })