4007ceb6af
* treewide Drop unneeded go 1.12 overrides * Fix packr to be go module compatible. I updated to version 2.8.0 which is the latest on master. Then due to the 2 different sets of go modules which are used, I split the build into two different derivations, then merged them togethor using symlinkJoin to have the same output structure as the existing derivation. * Remove consul dependency on go1.12 I updated the consul version to 1.7.2 and flipped it to building using modules. * Remove go1.12 from perkeep. Update the version to the latest unstable on master. * Update scaleway-cli to not be pinned to go1.12 Switched the version to 1.20 * Update prometheus-varnish-exporter to not depend on go1.12 * Update lnd to build with go1.12 Updated the version Forced only building subpackages with main to prevent panics over multiple modules in one repo * Remove go1.12 from openshift Had to update the version to 4.1.0 and do a bit of munging to get this to work * Remove go1.12 completely. These are no longer needed. * Update bazel-watcher and make it build with go 1.14
56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, stdenv
|
|
, symlinkJoin
|
|
}:
|
|
|
|
let p2 = buildGoModule rec {
|
|
pname = "packr2";
|
|
version = "2.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gobuffalo";
|
|
repo = "packr";
|
|
rev = "v${version}";
|
|
sha256 = "1x78yq2yg0r82h7a67078llni85gk9nbd2ismlbqgppap7fcpyai";
|
|
}+"/v2";
|
|
|
|
subPackages = [ "packr2" ];
|
|
|
|
modSha256 = "1xxqyn78074jna0iri7sks6b2l4sdnn5sg57n09vrrf6kh39h2y9";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The simple and easy way to embed static files into Go binaries";
|
|
homepage = "https://github.com/gobuffalo/packr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mmahut ];
|
|
};
|
|
};
|
|
p1 = buildGoModule rec {
|
|
pname = "packr1";
|
|
version = "2.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gobuffalo";
|
|
repo = "packr";
|
|
rev = "v${version}";
|
|
sha256 = "1x78yq2yg0r82h7a67078llni85gk9nbd2ismlbqgppap7fcpyai";
|
|
};
|
|
|
|
subPackages = [ "packr" ];
|
|
|
|
modSha256 = "045qfdi82yhpghjd0cimxhas4nkj7g30n9qyvkrl9ck01sahx76f";
|
|
|
|
meta = with lib; {
|
|
description = "The simple and easy way to embed static files into Go binaries";
|
|
homepage = "https://github.com/gobuffalo/packr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mmahut ];
|
|
};
|
|
};
|
|
in
|
|
symlinkJoin{
|
|
name = "packr";
|
|
paths = [p1 p2];
|
|
}
|