mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
starlark: unstable-2022-03-02 -> 2022-08-17
Patch we used to apply made it to upstream 3 commits before this snapshot, so remove it as well.
This commit is contained in:
parent
f043699a4f
commit
dbdec0edab
|
@ -1,25 +1,16 @@
|
|||
{ stdenv, lib, fetchFromGitHub, buildGoModule, fetchpatch }:
|
||||
buildGoModule rec {
|
||||
pname = "starlark";
|
||||
version = "unstable-2022-03-02";
|
||||
version = "unstable-2022-08-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "starlark-go";
|
||||
rev = "5411bad688d12781515a91cc032645331b4fc302";
|
||||
sha256 = "sha256-JNsGyGlIVMS5w0W4jHVsrPqqNms3Xfpa4n/XcEWqt6I=";
|
||||
rev = "f738f5508c12fe5a9fae44bbdf07a94ddcf5030e";
|
||||
sha256 = "sha256-nkQxwdP/lXEq5iiGy17mUTSMG6XiKAUJYfMDgbr10yM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-lgL5o3MQfZekZ++BNESwV0LeoTxwEZfziQAe99zm4RY=";
|
||||
|
||||
patches = [
|
||||
# Fix floating point imprecision issue in the test suite.
|
||||
# https://github.com/google/starlark-go/pull/409
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/starlark-go/commit/be6ed3bfcc376e5bf6fe2257ae89ddfb00d14e2c.patch";
|
||||
sha256 = "sha256-A0tHPso6SfFn73kICcA9/5n3JHd7hMdQMGty+4L6T4k=";
|
||||
})
|
||||
];
|
||||
vendorSha256 = "sha256-Kcjtaef//7LmUAIViyKv3gTK7kjynwJ6DwgGJ+pdbfM=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue