nur-packages

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

default.nix (591B)


      1 { lib, buildGoModule, fetchFromGitHub }:
      2 
      3 buildGoModule rec {
      4   pname = "gemget";
      5   version = "1.8.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "makeworld-the-better-one";
      9     repo = "gemget";
     10     rev = "v${version}";
     11     hash = "sha256-PmtIgxnzfLduNGTx8SNDky6juv+NTJ8Cr++SOCk/QNU=";
     12   };
     13 
     14   vendorHash = "sha256-Ep6HAJgurxFbA4L77z8V2ar06BBVWlAJS9VoSSUg27U=";
     15 
     16   meta = with lib; {
     17     description = "Command line downloader for the Gemini protocol";
     18     inherit (src.meta) homepage;
     19     license = licenses.mit;
     20     maintainers = [ maintainers.sikmir ];
     21     platforms = platforms.unix;
     22   };
     23 }