home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (509B)


      1 { stdenv, lib, buildGoPackage, fetchFromGitHub }:
      2 
      3 buildGoPackage rec {
      4   name = "esc-${version}";
      5   version = "0.2.0";
      6 
      7   goPackagePath = "github.com/mjibson/esc";
      8 
      9   src = fetchFromGitHub {
     10     rev = "v${version}";
     11     owner = "mjibson";
     12     repo = "esc";
     13     sha256 = "0ci3bdm01prm114plcwkgzbqn825lh0zc1iqaw3jicjay5sh0bis";
     14   };
     15 
     16   goDeps = ./deps.nix;
     17 
     18   meta = {
     19     description = "A simple file embedder for Go";
     20     homepage = "https://github.com/mjibson/esc";
     21     license = lib.licenses.asl20;
     22   };
     23 }