nur-packages

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

default.nix (667B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromSourcehut,
      5 }:
      6 
      7 buildGoModule {
      8   pname = "gmnigit";
      9   version = "0-unstable-2022-01-10";
     10 
     11   src = fetchFromSourcehut {
     12     owner = "~kornellapacz";
     13     repo = "gmnigit";
     14     rev = "b266bf6f6d32162d83df91c35ab4f43e3da445eb";
     15     hash = "sha256-as8WpwJFX/sXsUueLIchcBj8/FWKCpEB5vdZBZe4xpU=";
     16   };
     17 
     18   vendorHash = "sha256-/UIfgwPFZxdnSywA7ysyVIFQXTRud/nlkOdzGEESEbY=";
     19 
     20   ldflags = [
     21     "-s"
     22     "-w"
     23   ];
     24 
     25   meta = {
     26     description = "Static git gemini viewer";
     27     homepage = "https://sr.ht/~kornellapacz/gmnigit";
     28     license = lib.licenses.mit;
     29     maintainers = [ lib.maintainers.sikmir ];
     30     mainProgram = "gmnigit";
     31   };
     32 }