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:
David Birks
2021-03-23 01:20:14 -04:00
committed by tomberek
parent d20e020961
commit ee7a7ffc30
2 changed files with 5 additions and 243 deletions
+5 -15
View File
@@ -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}"