jenkins: 2.479.3 -> 2.492.1
[NixPkgs.git] / pkgs / by-name / ul / ulid / package.nix
blobe8a4a8c9bd2380369f253fed57d4617a9af3c261
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "ulid";
9   version = "2.1.0";
11   src = fetchFromGitHub {
12     owner = "oklog";
13     repo = "ulid";
14     rev = "v${version}";
15     hash = "sha256-/oQPgcO1xKbHXutxz0WPfIduShPrfH1l+7/mj8jLst8=";
16   };
18   vendorHash = "sha256-s1YkEwFxE1zpUUCgwOAl8i6/9HB2rcGG+4kqnixTit0=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   checkFlags = [
26     # skip flaky test
27     "-skip=TestMonotonicSafe"
28   ];
30   meta = with lib; {
31     description = "Universally Unique Lexicographically Sortable Identifier (ULID) in Go";
32     homepage = "https://github.com/oklog/ulid";
33     changelog = "https://github.com/oklog/ulid/blob/${src.rev}/CHANGELOG.md";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ figsoda ];
36     mainProgram = "ulid";
37   };