chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / gl / glock / package.nix
blobc573d06af7d003c08f15e329e31493e61e450738
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , fetchpatch
5 }:
7 buildGoModule {
8   pname = "glock";
9   version = "0-unstable-2021-03-19";
11   src = fetchFromGitHub {
12     owner = "robfig";
13     repo = "glock";
14     rev = "0ac7e52a4c8a9a7039a72b3c6a10e8be59bc6599";
15     hash = "sha256-EDaLk83u1gRcvEjrfBrLZBQZ5unyD9LQA2TccOawXII=";
16   };
18   patches = [
19     # Migrate to Go modules
20     (fetchpatch {
21       url = "https://github.com/robfig/glock/commit/943afe5e26dd64ebad5ca17613ae3700c53fb25d.patch";
22       hash = "sha256-nk+5uHlCv7Hxbo0Axvi15nJVzEcb++gOJpF3w06yQsk=";
23     })
24   ];
26   vendorHash = "sha256-v3lfb+CXbTxzObDpubufD3Q1h6IhULcC/6spA6StfGw=";
28   checkFlags = [ "-skip=^TestSave$" ];
30   meta = {
31     homepage = "https://github.com/robfig/glock";
32     description = "Command-line tool to lock Go dependencies to specific revisions";
33     mainProgram = "glock";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [
36       luftmensch-luftmensch
37       rushmorem
38     ];
39   };