joker: 0.12.4 -> 0.12.7
This commit is contained in:
parent
37831d6d35
commit
ca8558af6c
@ -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;
|
||||
|
29
pkgs/development/interpreters/joker/deps.nix
generated
29
pkgs/development/interpreters/joker/deps.nix
generated
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user