joker: 0.12.4 -> 0.12.7

This commit is contained in:
André Stylianos Ramos
2019-09-03 04:50:02 -03:00
parent 37831d6d35
commit ca8558af6c
2 changed files with 5 additions and 44 deletions
@@ -1,27 +1,17 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "joker";
version = "0.12.4";
goPackagePath = "github.com/candid82/joker";
version = "0.12.7";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
sha256 = "1swi991khmyhxn6w6xsdqp1wbyx3qmd9d7yhpwvqasyxp8gg3szm";
sha256 = "0panmhrg1i158xbvqvq3s3217smbj7ynwlaiks18pmss36xx9dk4";
};
preBuild = "go generate ./...";
postBuild = "rm go/bin/sum256dir";
dontInstallSrc = true;
excludedPackages = "gen"; # Do not install private generators.
goDeps = ./deps.nix;
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
meta = with stdenv.lib; {
homepage = https://github.com/candid82/joker;