at 22.05-pre 27 lines 916 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "desync"; 5 version = "0.9.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "folbricht"; 10 repo = "desync"; 11 sha256 = "0j9hixgkja268r2zn2dglrmlrb2z57sgz6q3wqb8dfwpan7b5rsy"; 12 }; 13 14 vendorSha256 = "1gajh99jb6mbwk93dypddhl7r7n8h2s11s3s82firbrb5k24s4pz"; 15 16 # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad. 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Content-addressed binary distribution system"; 21 longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness"; 22 homepage = "https://github.com/folbricht/desync"; 23 license = licenses.bsd3; 24 platforms = platforms.unix; # *may* work on Windows, but varies between releases. 25 maintainers = [ maintainers.chaduffy ]; 26 }; 27}