nur-packages

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

default.nix (703B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "emitter";
      9   version = "3.1";
     10 
     11   src = fetchFromGitHub {
     12     owner = "emitter-io";
     13     repo = "emitter";
     14     rev = "v${version}";
     15     hash = "sha256-eWBgRG0mLdiJj1TMSAxYPs+8CqLNaFUOW6/ghDn/zKE=";
     16   };
     17 
     18   vendorHash = "sha256-6K9KAvb+05nn2pFuVDiQ9IHZWpm+q01su6pl7CxXxBY=";
     19 
     20   preCheck = ''
     21     export HOME=$TMPDIR
     22   '';
     23 
     24   doCheck = false;
     25 
     26   checkFlags = [ "-skip=TestStatsd_Configure" ];
     27 
     28   meta = {
     29     description = "High performance, distributed and low latency publish-subscribe platform";
     30     homepage = "https://emitter.io/";
     31     license = lib.licenses.agpl3Plus;
     32     maintainers = [ lib.maintainers.sikmir ];
     33   };
     34 }