microplane: 0.0.26 -> 0.0.28
Also switching from deps to go mod, since they made the change upstream.
This commit is contained in:
@@ -1,27 +1,17 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "microplane";
|
||||
version = "0.0.26";
|
||||
version = "0.0.28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Clever";
|
||||
repo = "microplane";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dba8cz13ljcsfibcwycd9vb759fzlllh2bv31vgbs2pjgcinzvm";
|
||||
sha256 = "00ayci0a4lv67sg2bb4fw5wpdlps4pjqiiam595dar82lsjwj63j";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/Clever/microplane";
|
||||
|
||||
subPackages = ["."];
|
||||
|
||||
# Regenerate deps.nix with the following steps:
|
||||
# git clone git@github.com:Clever/microplane.git
|
||||
# cd microplane
|
||||
# git checkout v<version>
|
||||
# dep2nix
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
vendorSha256 = "0hn2gsm9bgmrm620fn2cx28l2gj1yfgvjix9ds50m7kwkx6q0dga";
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags="-s -w -X main.version=v${version}"
|
||||
|
||||
Reference in New Issue
Block a user