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