Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 buildGoModule, 5 fetchFromGitHub, 6}: 7 8buildGoModule rec { 9 pname = "docui"; 10 version = "2.0.4"; 11 12 src = fetchFromGitHub { 13 owner = "skanehira"; 14 repo = "docui"; 15 rev = version; 16 hash = "sha256-tHv1caNGiWC9Dc/qR4ij9xGM1lotT0KyrpJpdBsHyks="; 17 }; 18 19 vendorHash = "sha256-5xQ5MmGpyzVh4gXZAhCY16iVw8zbCMzMA5IOsPdn7b0="; 20 21 meta = with lib; { 22 description = "TUI Client for Docker"; 23 homepage = "https://github.com/skanehira/docui"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ aethelz ]; 26 broken = stdenv.hostPlatform.isDarwin; 27 mainProgram = "docui"; 28 }; 29}