nur-packages

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

default.nix (541B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "md2html";
      9   version = "2.0.1";
     10 
     11   src = fetchFromGitHub {
     12     owner = "nocd5";
     13     repo = "md2html";
     14     rev = "v${version}";
     15     hash = "sha256-3DnCLoX0x872zB90Z172iGwc6kQk9tpG1drw4s7LI0o=";
     16   };
     17 
     18   vendorHash = "sha256-XO8WD/SC2Xii0bUiuOGL9V7XgTJDZjsPrpmyONFm+7U=";
     19 
     20   meta = {
     21     description = "Markdown to single HTML";
     22     homepage = "https://github.com/nocd5/md2html";
     23     license = lib.licenses.mit;
     24     maintainers = [ lib.maintainers.sikmir ];
     25   };
     26 }