nur-packages

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

default.nix (711B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoPackage,
      5 }:
      6 
      7 buildGoPackage {
      8   pname = "dict2rest";
      9   version = "0-unstable-2016-12-05";
     10 
     11   src = fetchFromGitHub {
     12     owner = "felix";
     13     repo = "go-dict2rest";
     14     rev = "b049991a46a2f619344bd6e915745703864d0134";
     15     hash = "sha256-v5vBsdGQZYHSPEiBgSezKqaev1sTXnP27Tn47z1ebjQ=";
     16   };
     17 
     18   goPackagePath = "github.com/felix/go-dict2rest";
     19 
     20   meta = {
     21     description = "A simple proxy service providing an HTTP interface to a Dict protocol (RFC 2229) server";
     22     homepage = "https://github.com/felix/go-dict2rest";
     23     license = lib.licenses.mit;
     24     maintainers = [ lib.maintainers.sikmir ];
     25     platforms = lib.platforms.unix;
     26     mainProgram = "go-dict2rest";
     27   };
     28 }