1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "desync";
9 version = "0.9.6";
10
11 src = fetchFromGitHub {
12 owner = "folbricht";
13 repo = "desync";
14 tag = "v${version}";
15 hash = "sha256-TwzD9WYi4cdDPKKV2XoqkGWJ9CzIwoxeFll8LqNWf/E=";
16 };
17
18 vendorHash = "sha256-CBw5FFGQgvdYoOUZ6E1F/mxqzNKOwh2IZbsh0dAsLEE=";
19
20 # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad.
21 doCheck = false;
22
23 meta = {
24 description = "Content-addressed binary distribution system";
25 mainProgram = "desync";
26 longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness";
27 homepage = "https://github.com/folbricht/desync";
28 changelog = "https://github.com/folbricht/desync/releases/tag/v${version}";
29 license = lib.licenses.bsd3;
30 maintainers = with lib.maintainers; [ chaduffy ];
31 };
32}