nur-packages

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

default.nix (666B)


      1 {
      2   lib,
      3   buildGo122Package,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGo122Package {
      8   pname = "nanodns";
      9   version = "0-unstable-2021-10-29";
     10 
     11   src = fetchFromGitHub {
     12     owner = "Sina-Ghaderi";
     13     repo = "nanodns";
     14     rev = "fb0c62f7123cb39c0e327ff1515536ce2ed6c3db";
     15     hash = "sha256-Paz59YJkwK0v9/e7NrqpQjx0r/iHMpSCLd2heHw8KlA=";
     16   };
     17 
     18   goPackagePath = "github.com/Sina-Ghaderi/nanodns";
     19 
     20   goDeps = ./deps.nix;
     21 
     22   meta = {
     23     description = "Simple dns forwarder/cache blocker server";
     24     homepage = "https://github.com/Sina-Ghaderi/nanodns";
     25     license = lib.licenses.free;
     26     maintainers = [ lib.maintainers.sikmir ];
     27     platforms = lib.platforms.unix;
     28   };
     29 }