Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "sops"; 5 version = "3.7.3"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "mozilla"; 10 repo = pname; 11 sha256 = "sha256-wN1ksLwD4G+fUhvCe+jahh1PojPk6L6tnx1rsc7dz+M="; 12 }; 13 14 vendorSha256 = "sha256-8IaE+vhVZkc9QDR6+/3eOSsuf3SYF2upNcCifbqtx14="; 15 16 ldflags = [ "-s" "-w" ]; 17 18 doCheck = false; 19 20 meta = with lib; { 21 homepage = "https://github.com/mozilla/sops"; 22 description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files"; 23 changelog = "https://github.com/mozilla/sops/raw/v${version}/CHANGELOG.rst"; 24 maintainers = [ maintainers.marsam ]; 25 license = licenses.mpl20; 26 }; 27}