summary refs log tree commit diff
path: root/pkgs/applications/networking/sync/desync/default.nix
blob: 9831ab34b2eb25161e18b5ba02adf32452c2e8fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "desync";
  version = "0.4.0";
  rev = "v${version}";

  goPackagePath = "github.com/folbricht/desync";

  src = fetchFromGitHub {
    inherit rev;
    owner = "folbricht";
    repo = "desync";
    sha256 = "17qh0g1paa7212j761q9z246k10a3xrwd8fgiizw3lr9adn50kdk";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    description = "Content-addressed binary distribution system";
    longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness";
    homepage = "https://github.com/folbricht/desync";
    license = licenses.bsd3;
    platforms = platforms.unix; # *may* work on Windows, but varies between releases.
    maintainers = [ maintainers.chaduffy ];
  };
}