Merge pull request #67991 from andrestylianos/joker-0.12.7

joker: 0.12.4 -> 0.12.7
This commit is contained in:
Marek Mahut 2019-09-03 10:58:52 +02:00 committed by GitHub
commit 5c21c8f633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 44 deletions

View File

@ -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;

View File

@ -1,29 +0,0 @@
[
{
goPackagePath = "github.com/chzyer/readline";
fetch = {
type = "git";
url = "https://github.com/chzyer/readline";
rev = "6a4bc7b4feaeff8feb63f87d5fb2cf3e3610a559";
sha256 = "1ny3rws671sa9bj5phg6k1rprlgzys73kfdr14vxq4wnwz84zbrc";
};
}
{
goPackagePath = "github.com/pkg/profile";
fetch = {
type = "git";
url = "https://github.com/pkg/profile";
rev = "5b67d428864e92711fcbd2f8629456121a56d91f";
sha256 = "0blqmvgqvdbqmh3fp9pfdxc9w1qfshrr0zy9whj0sn372bw64qnr";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
]