12 src = fetchFromGitHub {
16 hash = "sha256-9tbU9gR8UHg98UKZ9ganapAz1bar18xb7ISvKoeuwe4=";
20 ./application-name.patch
23 vendorHash = "sha256-1uUokMeI0D/apDFJLq+Go5BQp1JMYxJQF8nKvw52E7o=";
28 "-X=main.buildVersion=${version}"
32 export HOME=$(mktemp -d)
35 __darwinAllowLocalNetworking = true;
37 passthru.tests.version = testers.testVersion {
39 command = "HOME=$(mktemp -d) ${pname} version";
40 version = "${pname}/${version}";
44 description = "The official Twitch CLI to make developing on Twitch easier";
45 mainProgram = "twitch-cli";
46 homepage = "https://github.com/twitchdev/twitch-cli";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ benediktbroich ];