1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "pup";
5 version = "unstable-2022-03-06";
6
7 src = fetchFromGitHub {
8 owner = "ericchiang";
9 repo = "pup";
10 rev = "5a57cf111366c7c08999a34b2afd7ba36d58a96d";
11 hash = "sha256-Ledg3xPbu71L5qUY033bru/lw03jws3s4YlAarIuqaA=";
12 };
13
14 vendorHash = "sha256-/MDSWIuSYNxKbTslqIooI2qKA8Pye0yJF2dY8g8qbWI=";
15
16 meta = with lib; {
17 description = "Parsing HTML at the command line";
18 mainProgram = "pup";
19 homepage = "https://github.com/ericchiang/pup";
20 license = licenses.mit;
21 maintainers = with maintainers; [ yana ];
22 };
23}