Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "peco"; 5 version = "0.5.11"; 6 7 subPackages = [ "cmd/peco" ]; 8 9 src = fetchFromGitHub { 10 owner = "peco"; 11 repo = "peco"; 12 rev = "v${version}"; 13 sha256 = "sha256-OVUfeNpnmuJsgD//JTn6n9n4oOBxep69LhIpHX+ru2w="; 14 }; 15 16 vendorHash = "sha256-+HQz7UUgATdgSWlI1dg2DdQRUSke9MyAtXgLikFhF90="; 17 18 meta = with lib; { 19 description = "Simplistic interactive filtering tool"; 20 homepage = "https://github.com/peco/peco"; 21 changelog = "https://github.com/peco/peco/blob/v${version}/Changes"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ pSub ]; 24 }; 25}