home

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

default.nix (614B)


      1 { stdenv, lib, buildGoPackage, fetchFromGitHub }:
      2 
      3 buildGoPackage rec {
      4   name = "gorun-unstable-${version}";
      5   version = "2018-04-08";
      6   rev = "85cd5f5e084af0863ed0c3f18c00e64526d1b899";
      7 
      8   goPackagePath = "github.com/erning/gorun";
      9 
     10   src = fetchFromGitHub {
     11     inherit rev;
     12     owner = "erning";
     13     repo = "gorun";
     14     sha256 = "1hdqimfzpynnpqc7p8m8hkcv9dlfbd8kl22979i6626nq57dvln8";
     15   };
     16 
     17   meta = {
     18     description = "gorun is a tool enabling one to put a \"bang line\" in the source code of a Go program to run it";
     19     homepage = "https://github.com/erning/gorun";
     20     license = lib.licenses.gpl3;
     21   };
     22 }