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-06-16 10:38:27 +00:00
|
|
|
rev = "v1.0.0";
|
|
|
|
sha256 = "1768mwk1kawrqc72s3yq7k3xbh2z8kn7sfxpxwxdr9cghzwcqcld";
|
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;
|
|
|
|
};
|
|
|
|
}
|