diff options
author | Colin L Rice <colin@daedrum.net> | 2020-04-30 21:59:00 -0400 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-05-14 07:22:21 +0100 |
commit | d6162dab509ababe7c3ce83c17a3ef63855e0832 (patch) | |
tree | 671629ece52745e2498c9debb7b6ccb4e7092efd /pkgs/tools/misc/up | |
parent | a0ddea1d6a9f07b0631e0dbcd3b7240d2eb82ef7 (diff) | |
download | nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar.gz nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar.bz2 nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar.lz nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar.xz nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.tar.zst nixpkgs-d6162dab509ababe7c3ce83c17a3ef63855e0832.zip |
go-modules: Update files to use vendorSha256
Diffstat (limited to 'pkgs/tools/misc/up')
-rw-r--r-- | pkgs/tools/misc/up/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/up/gomod.patch | 23 |
2 files changed, 27 insertions, 2 deletions
diff --git a/pkgs/tools/misc/up/default.nix b/pkgs/tools/misc/up/default.nix index 1e3378305d9..f0f9cf4cee8 100644 --- a/pkgs/tools/misc/up/default.nix +++ b/pkgs/tools/misc/up/default.nix @@ -4,6 +4,8 @@ buildGoModule rec { pname = "up"; version = "0.3.2"; + patches = [ ./gomod.patch ]; + src = fetchFromGitHub { owner = "akavel"; repo = "up"; @@ -11,7 +13,7 @@ buildGoModule rec { sha256 = "1psixyymk98z52yy92lwb75yfins45dw6rif9cxwd7yiascwg2if"; }; - modSha256 = "0nfs190rzabphhhyacypz3ic5c4ajlqpx9jiiincs0vxfkmfwnjd"; + vendorSha256 = "1h3w4i7dyh6yagqmdclvflfq6fx0z880jdnpf28assv7fxd9rjsx"; meta = with lib; { description = "Ultimate Plumber is a tool for writing Linux pipes with instant live preview"; @@ -19,4 +21,4 @@ buildGoModule rec { maintainers = with maintainers; [ ma27 ]; license = licenses.asl20; }; -} +} \ No newline at end of file diff --git a/pkgs/tools/misc/up/gomod.patch b/pkgs/tools/misc/up/gomod.patch new file mode 100644 index 00000000000..f894f14d21f --- /dev/null +++ b/pkgs/tools/misc/up/gomod.patch @@ -0,0 +1,23 @@ +diff --git a/go.mod b/go.mod +index ecbfe90..56a1409 100644 +--- a/go.mod ++++ b/go.mod +@@ -1,11 +1,14 @@ + module github.com/akavel/up + ++go 1.14 ++ + require ( +- github.com/gdamore/encoding v0.0.0-20151215212835-b23993cbb635 ++ github.com/gdamore/encoding v0.0.0-20151215212835-b23993cbb635 // indirect + github.com/gdamore/tcell v0.0.0-20180924055237-493f3b46b3c2 +- github.com/lucasb-eyer/go-colorful v0.0.0-20170903184257-231272389856 ++ github.com/lucasb-eyer/go-colorful v0.0.0-20170903184257-231272389856 // indirect + github.com/mattn/go-isatty v0.0.3 +- github.com/mattn/go-runewidth v0.0.2 ++ github.com/mattn/go-runewidth v0.0.2 // indirect + github.com/spf13/pflag v1.0.3 +- golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38 ++ golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect ++ golang.org/x/text v0.0.0-20171214130843-f21a4dfb5e38 // indirect + ) |