python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / oshka / default.nix
blob5e7ca5a7da2ab9d846f50293590d89dc1c18c13a
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "oshka";
8   version = "0.4.1";
10   src = fetchFromGitHub {
11     owner = "k1LoW";
12     repo = pname;
13     rev = "v${version}";
14     sha256 = "sha256-fpWhqFK5h/U7DCC/SyhAlMyCMhjZHRLMlwakvlhOd3w=";
15   };
17   vendorSha256 = "sha256-ZBI3WDXfJKBEF2rmUN3LvOOPT1185dHmj88qJKsdUiE=";
19   ldflags = [
20     "-w"
21     "-s"
22     "-X github.com/k1LoW/oshka/version.Version=${version}"
23   ];
25   # Tests requires a running Docker instance
26   doCheck = false;
28   meta = with lib; {
29     description = "Tool for extracting nested CI/CD supply chains and executing commands";
30     homepage = "https://github.com/k1LoW/oshka";
31     license = licenses.mit;
32     maintainers = with maintainers; [ fab ];
33   };