nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildGoModule,
5}:
6
7let
8 version = "1.0.1";
9in
10buildGoModule {
11 pname = "yoink";
12 inherit version;
13
14 src = fetchFromGitHub {
15 owner = "MrMarble";
16 repo = "yoink";
17 rev = "v${version}";
18 hash = "sha256-yI3koHVeZWkujpiO0qLj1i4m5l5BiZNZE5ix+IKFwyc=";
19 };
20
21 vendorHash = "sha256-P1bkugMaVKCvVx7y8g/elsEublHPA0SgeKzWiQCi4vs=";
22
23 meta = {
24 homepage = "https://github.com/MrMarble/yoink";
25 description = "Automatically download freeleech torrents";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ hogcycle ];
28 };
29}