2020-05-22 18:24:47 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) strings;
|
|
|
|
in buildGoPackage rec {
|
|
|
|
pname = "go-maven-resolver";
|
|
|
|
version = strings.substring 0 7 rev;
|
|
|
|
owner = "status-im";
|
|
|
|
repo = pname;
|
2020-05-24 13:44:15 +00:00
|
|
|
rev = "72b6c12ab193f59d197e7f63273ec0c079b6e3a9";
|
|
|
|
sha256 = "0r6k74716175pjy8vjz0fig2h010fabl00w114qd2wb2iwq4z3x4";
|
2020-05-22 18:24:47 +00:00
|
|
|
goPackagePath = "github.com/${owner}/${repo}";
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "${repo}-${version}-source";
|
|
|
|
inherit owner repo rev sha256;
|
|
|
|
};
|
|
|
|
}
|