2020-08-27 12:20:39 +00:00
|
|
|
{ lib, buildGo114Package, fetchFromGitHub }:
|
2020-05-22 18:24:47 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) strings;
|
2020-08-27 12:20:39 +00:00
|
|
|
in buildGo114Package rec {
|
2020-05-22 18:24:47 +00:00
|
|
|
pname = "go-maven-resolver";
|
|
|
|
version = strings.substring 0 7 rev;
|
|
|
|
owner = "status-im";
|
|
|
|
repo = pname;
|
2021-03-02 09:19:33 +00:00
|
|
|
rev = "v1.1.0";
|
|
|
|
sha256 = "15i8bkqv0m2pq8hzjy02a44z5xg67c8xcdaj6pc8p7w1m039n6qn";
|
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;
|
|
|
|
};
|
|
|
|
}
|